Skip to content

Commit 3911200

Browse files
authored
fix: mark sensitive outputs to support Terraform 0.15.x (#215)
1 parent 3e08cb6 commit 3911200

File tree

9 files changed

+8
-9
lines changed

9 files changed

+8
-9
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: git://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.49.0
3+
rev: v1.50.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_validate

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
Terraform module which creates RDS Aurora resources on AWS.
44

5-
These types of resources are supported:
6-
7-
- [RDS Cluster](https://www.terraform.io/docs/providers/aws/r/rds_cluster.html)
8-
- [RDS Cluster Instance](https://www.terraform.io/docs/providers/aws/r/rds_cluster_instance.html)
9-
- [DB Subnet Group](https://www.terraform.io/docs/providers/aws/r/db_subnet_group.html)
10-
- [Application AutoScaling Policy](https://www.terraform.io/docs/providers/aws/r/appautoscaling_policy.html)
11-
- [Application AutoScaling Target](https://www.terraform.io/docs/providers/aws/r/appautoscaling_target.html)
12-
135
## Available features
146

157
- Autoscaling of read-replicas (based on CPU utilization)

examples/autoscaling/outputs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ output "this_rds_cluster_port" {
3838
output "this_rds_cluster_master_username" {
3939
description = "The master username"
4040
value = module.aurora.this_rds_cluster_master_username
41+
sensitive = true
4142
}
4243

4344
# aws_rds_cluster_instance

examples/custom_instance_settings/outputs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ output "this_rds_cluster_port" {
3838
output "this_rds_cluster_master_username" {
3939
description = "The master username"
4040
value = module.aurora.this_rds_cluster_master_username
41+
sensitive = true
4142
}
4243

4344
# aws_rds_cluster_instance

examples/mysql/outputs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ output "this_rds_cluster_port" {
3838
output "this_rds_cluster_master_username" {
3939
description = "The master username"
4040
value = module.aurora.this_rds_cluster_master_username
41+
sensitive = true
4142
}
4243

4344
# aws_rds_cluster_instance

examples/postgresql/outputs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ output "this_rds_cluster_port" {
3838
output "this_rds_cluster_master_username" {
3939
description = "The master username"
4040
value = module.aurora.this_rds_cluster_master_username
41+
sensitive = true
4142
}
4243

4344
# aws_rds_cluster_instance

examples/s3_import/outputs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ output "this_rds_cluster_port" {
3838
output "this_rds_cluster_master_username" {
3939
description = "The master username"
4040
value = module.aurora.this_rds_cluster_master_username
41+
sensitive = true
4142
}
4243

4344
# aws_rds_cluster_instance

examples/serverless/outputs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ output "postgresql_rds_cluster_port" {
4242
output "postgresql_rds_cluster_master_username" {
4343
description = "The master username"
4444
value = module.aurora_postgresql.this_rds_cluster_master_username
45+
sensitive = true
4546
}
4647

4748
# aws_rds_cluster_instance

outputs.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ output "this_rds_cluster_port" {
4949
output "this_rds_cluster_master_username" {
5050
description = "The master username"
5151
value = element(concat(aws_rds_cluster.this.*.master_username, [""]), 0)
52+
sensitive = true
5253
}
5354

5455
output "this_rds_cluster_hosted_zone_id" {

0 commit comments

Comments
 (0)