Skip to content

mergermarket/tf_aws_secrets_access_policy

Repository files navigation

AWS Secrets Manager Access Policy Build Status

Grants access to a namespace in Secrets Manager for a component in an environment.

Example

resource "aws_iam_role_policy_attachment" "secrets_attach" {                    
    role       = "${var.iam_role_name}"               
    policy_arn = "${module.secrets_policy.policy_arn}"                          
}                                                                               
                                                                                
module "secrets_policy" {                                                       
    source = "github.com/mergermarket/tf_aws_secrets_access_policy"             
                                                                                
    component   = "my_service"                                 
    environment = "live"                                                  
}

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •