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

azurerm_public_ip: computed values now default to an empy string #1247

Merged
merged 3 commits into from
May 19, 2018

Conversation

katbyte
Copy link
Collaborator

@katbyte katbyte commented May 16, 2018

fixes #1234

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

one minor 🤔 otherwise LGTM 👍

@@ -48,22 +49,27 @@ func resourceArmPublicIp() *schema.Resource {
"public_ip_address_allocation": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validatePublicIpAllocation,
ValidateFunc: validation.StringInSlice([]string{"static", "dynamic"}, true),
Copy link
Contributor

Choose a reason for hiding this comment

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

minor I believe there's an Enum we can use for these values

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There is! thanks updated

@katbyte
Copy link
Collaborator Author

katbyte commented May 19, 2018

Tests pass:
screen shot 2018-05-18 at 17 53 11

@katbyte katbyte merged commit 0f0e0a9 into master May 19, 2018
@katbyte katbyte deleted the b-public_ip-fix_outputs branch May 19, 2018 00:53
katbyte added a commit that referenced this pull request May 19, 2018
@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

azurerm_public_ip doesn't change from dynamic to static
2 participants