-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs updates Signed-off-by: Jim Bugwadia <[email protected]> * docs updates Signed-off-by: Jim Bugwadia <[email protected]> * docs updates Signed-off-by: Jim Bugwadia <[email protected]> * docs updates Signed-off-by: Jim Bugwadia <[email protected]> * update ValidationPolicy | Policy -> ValidatingPolicy Signed-off-by: Jim Bugwadia <[email protected]> --------- Signed-off-by: Jim Bugwadia <[email protected]>
- Loading branch information
1 parent
5f595c3
commit 45e29ad
Showing
47 changed files
with
992 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
terraform { | ||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = "~> 4.16" | ||
} | ||
} | ||
|
||
required_version = ">= 1.2.0" | ||
} | ||
|
||
provider "aws" { | ||
region = "us-west-2" | ||
} | ||
|
||
resource "aws_instance" "app_server" { | ||
ami = "ami-830c94e3" | ||
instance_type = "t2.micro" | ||
|
||
tags = { | ||
Name = "ExampleAppServerInstance" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Loading policies ... | ||
Loading payload ... | ||
Pre processing ... | ||
Running ( evaluating 1 resource against 1 policy ) ... | ||
- required-ec2-tags / require-team-tag / (unknown) PASSED | ||
Done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
{ | ||
"format_version": "1.2", | ||
"terraform_version": "1.5.7", | ||
"planned_values": { | ||
"root_module": { | ||
"resources": [ | ||
{ | ||
"address": "aws_instance.app_server", | ||
"mode": "managed", | ||
"type": "aws_instance", | ||
"name": "app_server", | ||
"provider_name": "registry.terraform.io/hashicorp/aws", | ||
"schema_version": 1, | ||
"values": { | ||
"ami": "ami-830c94e3", | ||
"credit_specification": [], | ||
"get_password_data": false, | ||
"hibernation": null, | ||
"instance_type": "t2.micro", | ||
"launch_template": [], | ||
"source_dest_check": true, | ||
"tags": { | ||
"Name": "ExampleAppServerInstance" | ||
}, | ||
"tags_all": { | ||
"Name": "ExampleAppServerInstance" | ||
}, | ||
"timeouts": null, | ||
"user_data_replace_on_change": false, | ||
"volume_tags": null | ||
}, | ||
"sensitive_values": { | ||
"capacity_reservation_specification": [], | ||
"cpu_options": [], | ||
"credit_specification": [], | ||
"ebs_block_device": [], | ||
"enclave_options": [], | ||
"ephemeral_block_device": [], | ||
"ipv6_addresses": [], | ||
"launch_template": [], | ||
"maintenance_options": [], | ||
"metadata_options": [], | ||
"network_interface": [], | ||
"private_dns_name_options": [], | ||
"root_block_device": [], | ||
"secondary_private_ips": [], | ||
"security_groups": [], | ||
"tags": {}, | ||
"tags_all": {}, | ||
"vpc_security_group_ids": [] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"resource_changes": [ | ||
{ | ||
"address": "aws_instance.app_server", | ||
"mode": "managed", | ||
"type": "aws_instance", | ||
"name": "app_server", | ||
"provider_name": "registry.terraform.io/hashicorp/aws", | ||
"change": { | ||
"actions": [ | ||
"create" | ||
], | ||
"before": null, | ||
"after": { | ||
"ami": "ami-830c94e3", | ||
"credit_specification": [], | ||
"get_password_data": false, | ||
"hibernation": null, | ||
"instance_type": "t2.micro", | ||
"launch_template": [], | ||
"source_dest_check": true, | ||
"tags": { | ||
"Name": "ExampleAppServerInstance" | ||
}, | ||
"tags_all": { | ||
"Name": "ExampleAppServerInstance" | ||
}, | ||
"timeouts": null, | ||
"user_data_replace_on_change": false, | ||
"volume_tags": null | ||
}, | ||
"after_unknown": { | ||
"arn": true, | ||
"associate_public_ip_address": true, | ||
"availability_zone": true, | ||
"capacity_reservation_specification": true, | ||
"cpu_core_count": true, | ||
"cpu_options": true, | ||
"cpu_threads_per_core": true, | ||
"credit_specification": [], | ||
"disable_api_stop": true, | ||
"disable_api_termination": true, | ||
"ebs_block_device": true, | ||
"ebs_optimized": true, | ||
"enclave_options": true, | ||
"ephemeral_block_device": true, | ||
"host_id": true, | ||
"host_resource_group_arn": true, | ||
"iam_instance_profile": true, | ||
"id": true, | ||
"instance_initiated_shutdown_behavior": true, | ||
"instance_state": true, | ||
"ipv6_address_count": true, | ||
"ipv6_addresses": true, | ||
"key_name": true, | ||
"launch_template": [], | ||
"maintenance_options": true, | ||
"metadata_options": true, | ||
"monitoring": true, | ||
"network_interface": true, | ||
"outpost_arn": true, | ||
"password_data": true, | ||
"placement_group": true, | ||
"placement_partition_number": true, | ||
"primary_network_interface_id": true, | ||
"private_dns": true, | ||
"private_dns_name_options": true, | ||
"private_ip": true, | ||
"public_dns": true, | ||
"public_ip": true, | ||
"root_block_device": true, | ||
"secondary_private_ips": true, | ||
"security_groups": true, | ||
"subnet_id": true, | ||
"tags": {}, | ||
"tags_all": {}, | ||
"tenancy": true, | ||
"user_data": true, | ||
"user_data_base64": true, | ||
"vpc_security_group_ids": true | ||
}, | ||
"before_sensitive": false, | ||
"after_sensitive": { | ||
"capacity_reservation_specification": [], | ||
"cpu_options": [], | ||
"credit_specification": [], | ||
"ebs_block_device": [], | ||
"enclave_options": [], | ||
"ephemeral_block_device": [], | ||
"ipv6_addresses": [], | ||
"launch_template": [], | ||
"maintenance_options": [], | ||
"metadata_options": [], | ||
"network_interface": [], | ||
"private_dns_name_options": [], | ||
"root_block_device": [], | ||
"secondary_private_ips": [], | ||
"security_groups": [], | ||
"tags": {}, | ||
"tags_all": {}, | ||
"vpc_security_group_ids": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration": { | ||
"provider_config": { | ||
"aws": { | ||
"name": "aws", | ||
"full_name": "registry.terraform.io/hashicorp/aws", | ||
"version_constraint": "~> 4.16", | ||
"expressions": { | ||
"region": { | ||
"constant_value": "us-west-2" | ||
} | ||
} | ||
} | ||
}, | ||
"root_module": { | ||
"resources": [ | ||
{ | ||
"address": "aws_instance.app_server", | ||
"mode": "managed", | ||
"type": "aws_instance", | ||
"name": "app_server", | ||
"provider_config_key": "aws", | ||
"expressions": { | ||
"ami": { | ||
"constant_value": "ami-830c94e3" | ||
}, | ||
"instance_type": { | ||
"constant_value": "t2.micro" | ||
}, | ||
"tags": { | ||
"constant_value": { | ||
"Name": "ExampleAppServerInstance" | ||
} | ||
} | ||
}, | ||
"schema_version": 1 | ||
} | ||
] | ||
} | ||
}, | ||
"timestamp": "2023-10-26T06:40:48Z" | ||
} |
Oops, something went wrong.