Invalid reference :A reference to a resource type must be followed by at least one attribute access, specifying the resource name.
Mar 26, 2023 · 1 min read · provider "aws" { region = "us-east-1" access_key = "AKIAUPDPDSZWUND6JYU7" secret_key = "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" } resource "aws_instance" "myec2" { ami = ami-00c39f71452c08778 instance_type = "t2.micro" } The above code gives...
Join discussion