module "codepipeline" {
source = "DTherHtun/codepipeline/aws"
name = "iac"
vcs_repo = var.vcs_repo
environment = {
AWS_ACCESS_KEY_ID = var.aws.access_key
AWS_SECRET_ACCESS_KEY = var.aws.secret_key
CONFIRM_DESTROY = 1
}
s3_backend_config = module.s3backend.config
}
No requirements.
Name | Version |
---|---|
aws | n/a |
random | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
auto_apply | Whether to automatically apply changes when a Terraform plan is successful. Defaults to false. | bool |
false |
no |
environment | A map of environment varaibles to use for this workspace | map(string) |
{} |
no |
name | A project name to use for resource mapping | string |
"terraform" |
no |
s3_backend_config | Settings for configuring the S3 remote backend | object({ |
n/a | yes |
terraform_version | The version of Terraform to use for this workspace. Defaults to the latest available version. | string |
"latest" |
no |
vcs_repo | Settings for the workspace's VCS repository. | object({ identifier = string, branch = string, oauth_token = string }) |
n/a | yes |
working_directory | A relative path that Terraform will execute within. Defaults to the root of your repository. | string |
"." |
no |
No output.