Allow for custom iam policy name (#138)
This commit is contained in:
1 parent
c7860450ac
commit
a4278ad0f7
2 files changed
+6
-1
No files matched your search
@@ -55,7 +55,7 @@ data "aws_iam_policy_document" "firehose_policy" {
|
||||
}
|
||||
|
||||
resource "aws_iam_policy" "firehose" {
|
||||
name = "snowflake_firehose_policy"
|
||||
name = var.iam_policy_name
|
||||
policy = data.aws_iam_policy_document.firehose_policy.json
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
variable "iam_policy_name" {
|
||||
type = string
|
||||
default = "snowflake-firehose-policy"
|
||||
}
|
||||
|
||||
variable "s3_bucket_config" {
|
||||
type = object({
|
||||
name_prefix = optional(string, "fleet-snowflake-failure")
|
||||
|
||||
Reference in new issue
Block a user