Skip to content

Commit

Permalink
fix: Do not create dynamic DNS suffix for service principals (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored Mar 26, 2024
1 parent b4b48fd commit b79c17a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.88.0
rev: v1.88.4
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ data "aws_iam_policy_document" "monitoring_rds_assume_role" {

principals {
type = "Service"
identifiers = ["monitoring.rds.${data.aws_partition.current.dns_suffix}"]
identifiers = ["monitoring.rds.amazonaws.com"]
}
}
}
Expand Down

0 comments on commit b79c17a

Please sign in to comment.