-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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_container_group
- Support of dns_config
#7912
Conversation
azurerm_container_group
add dns_config block to definition
@jackofallops I'm not sure if you're a maintainer, but if you are, and aren't too busy could I please have a review? |
Bump. We are needing this functionality for some internal dev work we have. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zparnold Thank you for this PR 👍
Having look thourgh the code and left some comments mainly on the schema design. Besides, can you please add the test for this new property to ensure it works?
Thank you!
azurerm/internal/services/containers/container_group_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/containers/container_group_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/containers/container_group_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/containers/container_group_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/containers/container_group_resource.go
Outdated
Show resolved
Hide resolved
Co-authored-by: magodo <[email protected]>
Has this been implemented in Terraform release? |
@magodo I hopefully have addressed all PR comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the update! I have left some additional mostly minor comments that once addressed this should be good to merge 👍
azurerm/internal/services/containers/container_group_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/containers/container_group_resource.go
Outdated
Show resolved
Hide resolved
Co-authored-by: magodo <[email protected]>
@magodo anything else wrong with this? |
@magodo when I take your suggestion and do the
|
I have added something which fixes the acceptance test. Let me know if it breaks something else. |
@zparnold LGTM! |
azurerm_container_group
add dns_config block to definitionazurerm_container_group
- Support of dns_config
This has been released in version 2.30.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.30.0"
}
# ... other configuration ... |
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! |
Closes #6360
This PR attempts to add in the DNS config functionality for ACI. Please let me know if I missed something for the AzureRM provider. I think? I hit all the required terraform bits. Reference to the JSON schema for ACI below that I implemented.
https://github.com/Azure/azure-rest-api-specs/blob/21f0dcbb89544101d79be7fc889a86ce0911901b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2018-10-01/examples/ContainerGroupsCreateOrUpdate.json#L73