bc71da905f
Terraform modules for AWS Zonal Shift demo
39 lines
812 B
Terraform
39 lines
812 B
Terraform
variable "create-instance-profile" {
|
|
description = "Determines whether instance profile will be created"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "description" {
|
|
description = "Description of IAM role"
|
|
type = string
|
|
}
|
|
|
|
variable "policies" {
|
|
description = "Map of policies to be created and attached"
|
|
type = map(
|
|
object(
|
|
{
|
|
description = string
|
|
policy = string
|
|
}
|
|
)
|
|
)
|
|
default = {}
|
|
}
|
|
|
|
variable "role-name" {
|
|
description = "Name of IAM role"
|
|
type = string
|
|
}
|
|
|
|
variable "path" {
|
|
description = "Path of IAM role. Defaults to /Customer/"
|
|
type = string
|
|
default = "/Customer/"
|
|
}
|
|
|
|
variable "trusted-entity" {
|
|
description = "AWS service allowed to assume this role or a full assume role policy"
|
|
type = string
|
|
} |