valueFrom:
Jump to navigation
Jump to search
AWS ECS
secrets = [ { name = "YOUR_SECRET" valueFrom = "arn:aws:ssm:${var.aws_region}:${data.aws_caller_identity.current.account_id}:parameter/YOUR_PARAMETER" } ],
secrets = [
{
name = "YOUR_NAME"
valueFrom = "${var.yourvar}" == "" ? "arn:aws:ssm:${var.aws_region}:${data.aws_caller_identity.current.account_id}:parameter/YOUR_PARAMETER${upper(var.env)}_YOUR_PASSWORD" : "arn:aws:ssm:${var.aws_region}:${data.aws_caller_identity.current.account_id}:parameter/YOUR_SECOND_PASSWORD"
}
],
Related
env:
- Kubernetes Downward API
Kind: EnvVar
secrets:
aws ecs register-task-definition
aws ssm put-parameter
See also
Advertising: