Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify all variables in the basic_usage example as non-nullable #224

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions examples/basic_usage/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

variable "tf_role_arn" {
description = "The ARN of the role that can terraform non-specialized resources."
nullable = false
type = string
}

Expand All @@ -18,18 +19,21 @@ variable "tf_role_arn" {
variable "ami_owner_account_id" {
default = "self"
description = "The ID of the AWS account that owns the AMI, or \"self\" if the AMI is owned by the same account as the provisioner."
nullable = false
type = string
}

variable "aws_availability_zone" {
default = "a"
description = "The AWS availability zone to deploy into (e.g. a, b, c, etc.)."
nullable = false
type = string
}

variable "aws_region" {
default = "us-east-1"
description = "The AWS region to deploy into (e.g. us-east-1)."
nullable = false
type = string
}

Expand All @@ -38,5 +42,6 @@ variable "tags" {
Testing = true
}
description = "Tags to apply to all AWS resources created."
nullable = false
type = map(string)
}