File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,17 @@ terraform {
22 required_providers {
33 aws = {
44 source = " hashicorp/aws"
5- version = " 5.24 .0"
5+ version = " ~> 5 .0"
66 }
77 }
8- backend "s3" {
9- bucket = " digger-states-test" # Change if a different S3 bucket name was used for the backend
10- /* Un-comment to use DynamoDB state locking
11- dynamodb_table = "digger-locktable-quickstart-aws" # Change if a different DynamoDB table name was used for backend
12- */
13- key = " terraform/state"
14- region = " us-east-1"
15- }
168}
179
18- resource "aws_ssm_parameter" "foo" {
19- name = " /dev/vpc"
20- type = " String"
21- value = " 10.10.10.0/32"
10+ provider "aws" {
11+ region = " us-east-1"
2212}
2313
24- resource "null_resource" "test2" {}
14+ # This EC2 instance should trigger the Rego deny rule
15+ resource "aws_instance" "test" {
16+ ami = " ami-0c55b159cbfafe1f0" # Amazon Linux 2 AMI
17+ instance_type = " t2.micro"
18+ }
You can’t perform that action at this time.
0 commit comments