Skip to content

Commit

Permalink
Internal: set instance & role name to consistent pattern (#8)
Browse files Browse the repository at this point in the history
* Internal: set instance & role name to consistent pattern

* set instance name
  • Loading branch information
haresh-suresh authored Aug 26, 2024
1 parent e732888 commit b31f8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/config-posture/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource "random_id" "suffix" {
}

locals {
config_posture_role_name = "sysdig-secure-config-posture-${random_id.suffix.hex}"
config_posture_role_name = "sysdig-secure-posture-${random_id.suffix.hex}"
}

data "sysdig_secure_trusted_cloud_identity" "trusted_identity" {
Expand Down Expand Up @@ -134,7 +134,7 @@ data "aws_iam_policy_document" "custom_resources_policy" {
resource "sysdig_secure_cloud_auth_account_component" "config_posture_role" {
account_id = var.sysdig_secure_account_id
type = "COMPONENT_TRUSTED_ROLE"
instance = "config-posture"
instance = "secure-posture"
version = "v0.1.0"
trusted_role_metadata = jsonencode({
aws = {
Expand Down

0 comments on commit b31f8dc

Please sign in to comment.