Skip to content

Commit

Permalink
Make vars sensitive (#36)
Browse files Browse the repository at this point in the history
* Make vars sensitive

cloudposse/terraform-aws-ecs-web-app#113 <-- That PR broke this module.

* Auto Format

* empty commit to trigger actions

Co-authored-by: cloudpossebot <[email protected]>
  • Loading branch information
kevcube and cloudpossebot authored Mar 10, 2021
1 parent 0a3e609 commit b3364c1
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,27 @@ Available targets:
| aws | >= 2.0 |
| random | >= 2.0 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| ecs_web_app | cloudposse/ecs-web-app/aws | 0.54.0 |
| github_webhooks | cloudposse/repository-webhooks/github | 0.12.0 |
| ssh_key_pair | cloudposse/ssm-tls-ssh-key-pair/aws | 0.10.0 |
| this | cloudposse/label/null | 0.24.1 |

## Resources

| Name |
|------|
| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |
| [aws_kms_key](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/kms_key) |
| [aws_route53_record](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) |
| [aws_security_group_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) |
| [aws_ssm_parameter](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ssm_parameter) |
| [aws_ssm_parameter](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) |
| [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) |

## Inputs

| Name | Description | Type | Default | Required |
Expand Down Expand Up @@ -604,7 +625,6 @@ Available targets:
| httpcode\_target\_5xx\_count\_cloudwatch\_metric\_alarm\_id | ALB Target Group 5xx count CloudWatch metric alarm ID |
| target\_response\_time\_average\_cloudwatch\_metric\_alarm\_arn | ALB Target Group response time average CloudWatch metric alarm ARN |
| target\_response\_time\_average\_cloudwatch\_metric\_alarm\_id | ALB Target Group response time average CloudWatch metric alarm ID |

<!-- markdownlint-restore -->


Expand Down
22 changes: 21 additions & 1 deletion docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@
| aws | >= 2.0 |
| random | >= 2.0 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| ecs_web_app | cloudposse/ecs-web-app/aws | 0.54.0 |
| github_webhooks | cloudposse/repository-webhooks/github | 0.12.0 |
| ssh_key_pair | cloudposse/ssm-tls-ssh-key-pair/aws | 0.10.0 |
| this | cloudposse/label/null | 0.24.1 |

## Resources

| Name |
|------|
| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |
| [aws_kms_key](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/kms_key) |
| [aws_route53_record](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) |
| [aws_security_group_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) |
| [aws_ssm_parameter](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ssm_parameter) |
| [aws_ssm_parameter](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) |
| [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) |

## Inputs

| Name | Description | Type | Default | Required |
Expand Down Expand Up @@ -182,5 +203,4 @@
| httpcode\_target\_5xx\_count\_cloudwatch\_metric\_alarm\_id | ALB Target Group 5xx count CloudWatch metric alarm ID |
| target\_response\_time\_average\_cloudwatch\_metric\_alarm\_arn | ALB Target Group response time average CloudWatch metric alarm ARN |
| target\_response\_time\_average\_cloudwatch\_metric\_alarm\_id | ALB Target Group response time average CloudWatch metric alarm ID |

<!-- markdownlint-restore -->
2 changes: 2 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ output "alb_ingress_target_group_arn_suffix" {
output "container_definition_json" {
description = "JSON encoded list of container definitions for use with other terraform resources such as aws_ecs_task_definition"
value = module.ecs_web_app.container_definition_json
sensitive = true
}

output "container_definition_json_map" {
description = "JSON encoded container definitions for use with other terraform resources such as aws_ecs_task_definition"
value = module.ecs_web_app.container_definition_json_map
sensitive = true
}

output "ecs_exec_role_policy_id" {
Expand Down

0 comments on commit b3364c1

Please sign in to comment.