NEW: Initial commit
Terraform modules for AWS Zonal Shift demo
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user