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

Add support for setting public IP sku to ARM builder #416

Merged
merged 6 commits into from
May 21, 2024

Conversation

JenGoldstrich
Copy link
Contributor

This PR adds support for a public_ip_sku parameter, in March 2025 Microsoft is removing the ability to create Basic SKU public IP addresses, there are certain security aspects of this that do not really apply to the short lived IP that is created to connect to the build VM. Due to the many number of potential network configurations we want to release support for this early and encourage users to try out this functionality, so any unexpected bugs are caught long before the removal of basic IPs. This will minimize impact to our users.

This PR also throws a new warning to inform users of the upcoming deprecation, and suggest they try this field

Closes #292

@JenGoldstrich JenGoldstrich requested a review from a team as a code owner May 16, 2024 23:46
@JenGoldstrich JenGoldstrich force-pushed the arm-public-ip-sku branch 2 times, most recently from 2d63be0 to c2ae65d Compare May 17, 2024 00:11
Copy link
Contributor

@nywilken nywilken left a comment

Choose a reason for hiding this comment

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

I left a couple of questions and small suggestions. But this otherwise looks good.

builder/azure/arm/config.go Outdated Show resolved Hide resolved
builder/azure/arm/builder.go Outdated Show resolved Hide resolved
builder/azure/arm/builder.go Outdated Show resolved Hide resolved
JenGoldstrich and others added 3 commits May 21, 2024 09:05
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
@JenGoldstrich
Copy link
Contributor Author

@nywilken I have merged your changes, run make generate, and made public IP sku case insensitive for the user, lemme know what you think!

…et, disallow setting sku when user provides their own network
Copy link
Contributor

@nywilken nywilken left a comment

Choose a reason for hiding this comment

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

This re-roll looks good to me. Just one small comment but otherwise good.

builder/azure/arm/config.go Outdated Show resolved Hide resolved
@JenGoldstrich JenGoldstrich merged commit 37e4d3f into main May 21, 2024
12 checks passed
@JenGoldstrich JenGoldstrich deleted the arm-public-ip-sku branch May 21, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

azure-arm: Add public ip sku parameter
2 participants