Skip to content

Commit

Permalink
ops(iac): remove sts caller output that was causing false change flags
Browse files Browse the repository at this point in the history
  • Loading branch information
datapointchris committed Sep 27, 2024
1 parent 8fb32af commit 8dc3d6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@ No modules.
| Name | Description |
|------|-------------|
| aws\_account\_id | n/a |
| aws\_caller\_identity\_arn | n/a |
| aws\_region | n/a |
| db\_endpoint | n/a |
| db\_engine | n/a |
| db\_engine\_version | n/a |
| db\_id | n/a |
| db\_instance\_class | n/a |
| db\_security\_group\_ids | n/a |
| db\_subnet\_group\_name | n/a |
| dynamodb\_terraform\_state\_locking\_table\_id | n/a |
| iam\_group\_developer\_admin\_arn | n/a |
| iam\_group\_developer\_arn | n/a |
Expand Down
11 changes: 8 additions & 3 deletions terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ output "aws_account_id" {
value = data.aws_caller_identity.current.account_id
}

output "aws_caller_identity_arn" {
value = data.aws_caller_identity.current.arn
}

# ------------------------------------------------------------------ #
# DATABASE
Expand Down Expand Up @@ -42,10 +39,15 @@ output "db_security_group_ids" {
value = join(", ", aws_db_instance.icb.vpc_security_group_ids[*])
}

output "db_subnet_group_name" {
value = aws_db_instance.icb.db_subnet_group_name
}

output "dynamodb_terraform_state_locking_table_id" {
value = aws_dynamodb_table.ichrisbirch_terraform_state_locking.id
}


# ------------------------------------------------------------------ #
# NETWORK
# ------------------------------------------------------------------ #
Expand Down Expand Up @@ -86,6 +88,7 @@ output "security_group_ichrisbirch_webserver_id" {
value = aws_security_group.ichrisbirch_webserver.id
}


# ------------------------------------------------------------------ #
# WEBSERVER
# ------------------------------------------------------------------ #
Expand Down Expand Up @@ -130,6 +133,7 @@ output "webserver_subnet_id" {
value = aws_instance.ichrisbirch_webserver.subnet_id
}


# ------------------------------------------------------------------ #
# IAM
# ------------------------------------------------------------------ #
Expand Down Expand Up @@ -227,6 +231,7 @@ output "user_chris_birch_generated_password" {
sensitive = true
}


# ------------------------------------------------------------------ #
# ROUTE 53
# ------------------------------------------------------------------ #
Expand Down

0 comments on commit 8dc3d6f

Please sign in to comment.