We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b07c2ac + 378ae85 commit 300c2e5Copy full SHA for 300c2e5
infrastructure/main.tf
@@ -31,4 +31,14 @@ data "aws_elb_service_account" "main" {}
31
32
data "aws_ssm_parameter" "apim_url" {
33
name = "/repo/${var.environment}/user-input/apim-api-url"
34
-}
+}
35
+
36
+resource "aws_instance" "example" {
37
+ ami = "ami-0c55b159cbfafe1f0" # This is an example Amazon Linux 2 AMI ID (may need updating)
38
+ instance_type = "t2.micro"
39
40
+ # This will cause a validation error because 'nonexistent_parameter'
41
+ # is not a valid argument for aws_instance
42
+ nonexistent_parameter = "this_will_fail"
43
44
0 commit comments