Skip to content

Allow empty values for external secrets kms keys, secrets, ssm parameters #511

@akumar-99

Description

@akumar-99

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

Yes, I am using terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks - 5.41.0 with attach_external_secrets_policy = true. We can control access using external_secrets_kms_key_arns, external_secrets_secrets_manager_arns and external_secrets_ssm_parameter_arns, and they have default values set. I do not want to allow access to SSM parameters, but it neither supports [] nor ["]. Can we have a feature for it?

Describe the solution you'd like.

Allow external_secrets_ssm_parameter_arns to take value as []. If [], then do not add policy statement for SSM parameters access.

Describe alternatives you've considered.

Tried playing with the values.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions