Creates a new landing zone using Control Tower. For more information on usage, please see the AWS Control Tower Landing Zone User Guide.
resource "aws_controltower_landing_zone" "example" {
manifest_json = file("${path.module}/LandingZoneManifest.json")
version = "3.2"
}
This resource supports the following arguments:
manifest_json
- (Required) The manifest JSON file is a text file that describes your AWS resources. For examples, review Launch your landing zone.version
- (Required) The landing zone version.tags
- (Optional) Tags to apply to the landing zone. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.This resource exports the following attributes in addition to the arguments above:
id
- The identifier of the landing zone.arn
- The ARN of the landing zone.drift_status
- The drift status summary of the landing zone.
status
- The drift status of the landing zone.latest_available_version
- The latest available version of the landing zone.tags_all
- A map of tags assigned to the landing zone, including those inherited from the provider default_tags
configuration block.create
- (Default 120m
)update
- (Default 120m
)delete
- (Default 120m
)In Terraform v1.5.0 and later, use an import
block to import a Control Tower Landing Zone using the id
. For example:
import {
to = aws_controltower_landing_zone.example
id = "1A2B3C4D5E6F7G8H"
}
Using terraform import
, import a Control Tower Landing Zone using the id
. For example:
% terraform import aws_controltower_landing_zone.example 1A2B3C4D5E6F7G8H