ecr-iam-policy
dod-iac/ecr-iam-policy/aws
IAM Policy that allows use of AWS ECR
Usage Creates an IAM policy that allows downloading of images from an AWS ECR repo. ``hcl module "ecr_iam_policy" { source = "dod-iac/ecr-iam-policy/aws" name = format("%s-ecr-user-%s", var.application, var.environment) repos = [aws_ecr_repository.main.arn] } ` Creates an IAM policy that allows downloading and uploading of images to an AWS ECR repo. `hcl module "ecr_iam_policy" { source = "dod-iac/ecr-iam-policy/aws" allow_write = true name = format("%s-ecr-user-%s", var.application, var.environment) repos = [aws_ecr_repository.main.arn] } ` Terraform Version Terraform 0.13. Pin module version to ~> 1.0.0 . Submit pull-requests to master branch. Terraform 0.11 and 0.12 are not supported. License This project constitutes a work of the United States Government and is not subject to domestic
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name of the AWS IAM policy. | required |
| repos | list(string) | The ARNs of the AWS ECR repos. Use ["*"] to allow all repos. | required |
| allow_write | bool | Allow uploading of new images. | false |
| description | string | The description of the AWS IAM policy. Defaults to "The policy for [NAME]." | "" |
arn — The Amazon Resource Name (ARN) of the AWS IAM policy.id — The id of the AWS IAM policy.name — The name of the AWS IAM policy.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,