Meta - Arguments
FOR EACH
resource "aws_s3_bucket" "bucket" {
for_each = ["bucket1", "bucket2", "bucket3"]
bucket = each.value
acl = "private"
}
DEPENDS ON
resource "resource_type" "example" {
# Configuration for this resource
depends_on = [resource_type.other_resource]
}
COUNT
resource "resource_type" "example" {
# Configuration for this resource
depends_on = [resource_type.other_resource]
}
resource "resource_type" "example" {
# Configuration for this resource
depends_on = [resource_type.other_resource]
}
Comments
Post a Comment