Amazon web services – How to raise your own (custom) error in terraform?
My goal here is to raise a custom error instead of the error received from terraform for this sample code: resource "aws_instance" "example" { ami = "ami-0f" # Invalid AMI ID intentionally causing an error instance_type = "t2.micro" } for…