You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: Ensure all resources have tags_all
Given I have resource that supports tags_all defined
Failure: module.eks-ng.aws_launch_template.workers (aws_launch_template) does not have tags_all property.
Then it must contain tags_all
And its value must not be null
Using
# https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-5-upgrade#provider
provider "aws" {
region = var.region
# Specify default tags for all resources which can contains tags.
default_tags {
tags = var.tags
}
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am facing an error with
Error:
Using
Does it is linked with https://www.hashicorp.com/blog/terraform-aws-provider-5-0-adds-updates-to-default-tags changes?
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-5-upgrade#default-tags
I see no tags_all attributes in https://registry.terraform.io/providers/-/aws/5.13.1/docs/data-sources/launch_template
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/resource-tagging#propagating-tags-to-all-resources
"To access all the tags applied to the VPC resource, use the read-only attribute tags_all, e.g., aws_vpc.example.tags_all."
Thank you in advance,
regards,
Beta Was this translation helpful? Give feedback.
All reactions