-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
AWS Cloud Map resource tagging #13750
AWS Cloud Map resource tagging #13750
Conversation
Also added |
hcconfig := d.Get("health_check_config").([]interface{}) | ||
sc.HealthCheckConfig = expandServiceDiscoveryHealthCheckConfig(hcconfig[0].(map[string]interface{})) | ||
} | ||
if len(hcconfig) > 0 { |
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.
Handle deletion of health_check_config
.
@ewbankkit are you able to confirm the tags propagate to the Route 53 Hosted Zone for #7840? The Developer Guide seems to suggest otherwise. We may need to consider adding a separate resource similar to |
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.
Looks great 🚀
Output from acceptance testing:
--- PASS: TestAccAWSServiceDiscoveryHttpNamespace_basic (101.16s)
--- PASS: TestAccAWSServiceDiscoveryHttpNamespace_Description (101.11s)
--- PASS: TestAccAWSServiceDiscoveryHttpNamespace_disappears (96.92s)
--- PASS: TestAccAWSServiceDiscoveryHttpNamespace_Tags (112.88s)
--- PASS: TestAccAWSServiceDiscoveryPrivateDnsNamespace_basic (105.74s)
--- PASS: TestAccAWSServiceDiscoveryPrivateDnsNamespace_Description (103.22s)
--- PASS: TestAccAWSServiceDiscoveryPrivateDnsNamespace_disappears (92.73s)
--- PASS: TestAccAWSServiceDiscoveryPrivateDnsNamespace_error_Overlap (170.47s)
--- PASS: TestAccAWSServiceDiscoveryPrivateDnsNamespace_Tags (113.38s)
--- PASS: TestAccAWSServiceDiscoveryPublicDnsNamespace_basic (98.39s)
--- PASS: TestAccAWSServiceDiscoveryPublicDnsNamespace_Description (97.06s)
--- PASS: TestAccAWSServiceDiscoveryPublicDnsNamespace_disappears (97.56s)
--- PASS: TestAccAWSServiceDiscoveryPublicDnsNamespace_Tags (109.04s)
--- PASS: TestAccAWSServiceDiscoveryService_disappears (95.38s)
--- PASS: TestAccAWSServiceDiscoveryService_http (99.17s)
--- PASS: TestAccAWSServiceDiscoveryService_private (101.95s)
--- PASS: TestAccAWSServiceDiscoveryService_public (111.98s)
--- PASS: TestAccAWSServiceDiscoveryService_Tags (109.99s)
@bflad No, tags are not propagated from the ServiceDiscovery namespace to the Route 53 hosted zone: $ aws --region us-west-2 route53 list-tags-for-resources --resource-type hostedzone --resource-ids Z02101932SP7LMVLGC71Q
{
"ResourceTagSets": [
{
"ResourceType": "hostedzone",
"ResourceId": "Z02101932SP7LMVLGC71Q",
"Tags": []
}
]
} Yes, I think adding a |
This has been released in version 2.67.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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. Thanks! |
Community Note
Closes #13696.
Release note for CHANGELOG:
Output from acceptance testing: