Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use zones names when naming Cloudflare resources #161

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

augustoccesar
Copy link
Collaborator

No description provided.

@augustoccesar augustoccesar self-assigned this Feb 17, 2025
@augustoccesar augustoccesar marked this pull request as ready for review February 18, 2025 08:09
@@ -58,9 +58,12 @@ pub async fn deploy(args: &DeployArgs) -> Result<(), DeployError> {
);
let notifier = ConsoleNotifier::new();

let tunnel_zone_name = cloudflare_api.get_zone_name(&args.zone_ids[0]).await?;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why tunnel zone name and not like zone1name-zone2name list? the script is "global" and will be associated with "all" the zones / have worker routes in several places

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No specific reason! Just thought maybe it was enough.
Is this better? e71238d

@augustoccesar augustoccesar changed the title feat: use zone name when naming Cloudflare resources feat: use zones names when naming Cloudflare resources Feb 18, 2025
Copy link
Contributor

@ostenbom ostenbom left a comment

Choose a reason for hiding this comment

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

Yep love it!

@augustoccesar augustoccesar merged commit 856aa40 into 2.0 Feb 18, 2025
4 checks passed
@augustoccesar augustoccesar deleted the augustoccesar/use-zone-name-for-creating-resources branch February 18, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants