99 lines
3.0 KiB
JSON
99 lines
3.0 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.3.7",
|
|
"serial": 4,
|
|
"lineage": "816258a5-69eb-6967-f105-8709f7e2588d",
|
|
"outputs": {},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_security_group",
|
|
"name": "grafana-allow-security",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"arn": "arn:aws:ec2:ap-northeast-2:508259851457:security-group/sg-0aa579ce45269425a",
|
|
"description": "Allow inbound traffic",
|
|
"egress": [
|
|
{
|
|
"cidr_blocks": [
|
|
"0.0.0.0/0"
|
|
],
|
|
"description": "",
|
|
"from_port": 0,
|
|
"ipv6_cidr_blocks": [
|
|
"::/0"
|
|
],
|
|
"prefix_list_ids": [],
|
|
"protocol": "-1",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 0
|
|
}
|
|
],
|
|
"id": "sg-0aa579ce45269425a",
|
|
"ingress": [
|
|
{
|
|
"cidr_blocks": [
|
|
"118.223.123.161/32"
|
|
],
|
|
"description": "SSH",
|
|
"from_port": 22,
|
|
"ipv6_cidr_blocks": [],
|
|
"prefix_list_ids": [],
|
|
"protocol": "tcp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 22
|
|
},
|
|
{
|
|
"cidr_blocks": [
|
|
"118.223.123.161/32"
|
|
],
|
|
"description": "TLS from grafana",
|
|
"from_port": 443,
|
|
"ipv6_cidr_blocks": [],
|
|
"prefix_list_ids": [],
|
|
"protocol": "tcp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 443
|
|
},
|
|
{
|
|
"cidr_blocks": [
|
|
"118.223.123.161/32"
|
|
],
|
|
"description": "http fron grafana",
|
|
"from_port": 80,
|
|
"ipv6_cidr_blocks": [],
|
|
"prefix_list_ids": [],
|
|
"protocol": "tcp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 80
|
|
}
|
|
],
|
|
"name": "grafana-allow-security-new",
|
|
"name_prefix": "",
|
|
"owner_id": "508259851457",
|
|
"revoke_rules_on_delete": false,
|
|
"tags": {
|
|
"Name": "grafana-allow-security"
|
|
},
|
|
"tags_all": {
|
|
"Name": "grafana-allow-security"
|
|
},
|
|
"timeouts": null,
|
|
"vpc_id": "vpc-00ba2b0e9ad59f0ed"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|