Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to insecure_value for nonsensitive values #8120

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions terraform/environments/core-logging/ssm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ resource "aws_ssm_parameter" "cortex_account_id" {
lifecycle {
ignore_changes = [value]
}
provider = aws.modernisation-platform
description = "Account ID for Palo Alto Cortex XSIAM cross-account role."
name = "cortex_account_id"
type = "String"
value = "Placeholder"
tags = local.tags
provider = aws.modernisation-platform
description = "Account ID for Palo Alto Cortex XSIAM cross-account role."
name = "cortex_account_id"
type = "String"
insecure_value = "Placeholder"
tags = local.tags
}

resource "aws_ssm_parameter" "core_logging_bucket_arns" {
Expand All @@ -17,7 +17,7 @@ resource "aws_ssm_parameter" "core_logging_bucket_arns" {
description = "Bucket ARNs in core-logging for Palo Alto Cortex XSIAM."
name = "core_logging_bucket_arns"
type = "String"
value = jsonencode({
insecure_value = jsonencode({
for key in local.cortex_logging_buckets :
key => aws_s3_bucket.logging[key].arn
})
Expand Down