Skip to content

Commit 545ccc6

Browse files
authored
Merge pull request #224 from cisagov/bug/add_nullable_to_example
Specify all variables in the `basic_usage` example as non-nullable
2 parents 88d4f16 + 6a4caff commit 545ccc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/basic_usage/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
variable "tf_role_arn" {
88
description = "The ARN of the role that can terraform non-specialized resources."
9+
nullable = false
910
type = string
1011
}
1112

@@ -18,18 +19,21 @@ variable "tf_role_arn" {
1819
variable "ami_owner_account_id" {
1920
default = "self"
2021
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."
22+
nullable = false
2123
type = string
2224
}
2325

2426
variable "aws_availability_zone" {
2527
default = "a"
2628
description = "The AWS availability zone to deploy into (e.g. a, b, c, etc.)."
29+
nullable = false
2730
type = string
2831
}
2932

3033
variable "aws_region" {
3134
default = "us-east-1"
3235
description = "The AWS region to deploy into (e.g. us-east-1)."
36+
nullable = false
3337
type = string
3438
}
3539

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

0 commit comments

Comments
 (0)