Resource: edw_environment
The edw_environment
provides an Environment
resource. The resource lets you create and delete environments.
Example Usage
resource "edw_environment" "my-environment" {
name = "test-env-1"
aws_iam_role = "arn:aws:iam::xxxx:role/edw/access/role/edw-access-role"
}
Argument Reference
name
- The name of the environment being createdaws_iam_role
- The IAM role ARN on the target AWS account. This role can be created using the CLI or via the Console. It can also refer to a role created in Terraform.
Attributes Reference
In addition to the arguments above, the following attributes are also exported:
id
- The Environment ID (generated by ElasticDW).