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
data "aws_vpc" "app" {
id = var.aws_vpc_id
lifecycle {
postcondition {
condition = self.enable_dns_support == true
error_message = "The selected VPC must have DNS support enabled."
}
}
}
Proposal
Make some reference that you can customize as resource. A proposal could be something like
Data resources can customize their lifecycle as resource
References
No response
The text was updated successfully, but these errors were encountered:
Terraform Version
Affected Pages
https://developer.hashicorp.com/terraform/language/data-sources#lifecycle-customizations
What is the docs issue?
You can read
and at least from v1.7.x, and as it's indicated also in the tutorial https://developer.hashicorp.com/terraform/tutorials/configuration-language/custom-conditions#add-a-postcondition, you can declare
Proposal
Make some reference that you can customize as resource. A proposal could be something like
References
No response
The text was updated successfully, but these errors were encountered: