Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: use cloud secret for DNS token in scaletest TF#19466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedAug 21, 2025
edited by ethanndickson
Loading

Note(ethanndickson): Though this is marked as a feat, I don't think there's any point calling it out in the changelog. It's a scaletesting infrastructure change only, and we're moving that to a private repo.

Removes the requirement to obtain a Cloudflare DNS token from our scaletest/terraform/action builds. Instead, by default, we pull the token from Google Secrets Manager and use thescaletest.dev DNS domain.

Removes cloudflare_email as this was unneeded.

Removes the cloudflare_zone_id and instead pulls it from a data source via the Cloudflare API.

closescoder/internal#839

@spikecurtisGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@spikecurtisspikecurtis marked this pull request as ready for reviewAugust 21, 2025 12:19
@spikecurtisspikecurtisforce-pushed the08-21-feat_use_cloud_secret_for_dns_token_in_scaletest_tf branch frombf1837e tod160d09CompareAugust 21, 2025 12:30
Copy link
Member

@ethanndicksonethanndickson left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I actually had this in#19412, but mine doesn't let you override with a var, and uses a slightly different* data source to pull the token, i'll update mine to match and we can merge this.

*

This is similar to thegoogle_secret_manager_secret_version datasource, but it only requires theSecret Manager Secret Accessor role


variable"cloudflare_zone_id" {
description="Cloudflare zone ID."
default="scaletest.dev"
Copy link
Member

@ethanndicksonethanndicksonAug 22, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We haven't mentioned this domain publicly anywhere else, could omit it here?

Copy link
Member

@ethanndicksonethanndicksonAug 22, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Also, just realising, we should probably not use a hardcoded password on these coder deployments, now that they're accessible on the public web.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

They've always been accessible on the public web.

I agree we shouldn't use a hardcoded password; didn't realize we did.coder/internal#932

Beyond the scope of this PR.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We haven't mentioned this domain publicly anywhere else, could omit it here?

If we're cagey about leaking details like this, we should move all this terraform into a private repo. We have an obvious choice in coder/scaletest

WDYT@deansheather@jdomeracki-coder

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I do think we should move it to a private repo. I haven't heard of any customers using it, and a lot of it was clickops'd anyways so I don't see the point of keeping the Terraform public

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think we definitely should move it 💯

ethanndickson added a commit that referenced this pull requestAug 22, 2025
@spikecurtisspikecurtis merged commitb90bc7c intomainAug 22, 2025
28 checks passed
@spikecurtisspikecurtis deleted the 08-21-feat_use_cloud_secret_for_dns_token_in_scaletest_tf branchAugust 22, 2025 05:41
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 22, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather left review comments

@ethanndicksonethanndicksonethanndickson approved these changes

@jdomeracki-coderjdomeracki-coderjdomeracki-coder left review comments

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Get a multi-region scaletest cluster & Coder deployment up using Terraform
4 participants
@spikecurtis@deansheather@ethanndickson@jdomeracki-coder

[8]ページ先頭

©2009-2025 Movatter.jp