Compare commits
No commits in common. "84952564f0c6b44ef382c38d67ebf5f298012da1" and "3c3cf9182f47636e16c756bd5f4d81d336f9d7bb" have entirely different histories.
84952564f0
...
3c3cf9182f
35
main.tf
35
main.tf
@ -1,3 +1,38 @@
|
|||||||
provider "aws" {
|
provider "aws" {
|
||||||
region = "us-east-1" # Change this to your preferred region
|
region = "us-east-1" # Change this to your preferred region
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "aws_security_group" "ec2_sg" {
|
||||||
|
name = "pangolin-sg"
|
||||||
|
description = "Allow SSH inbound traffic"
|
||||||
|
|
||||||
|
ingress {
|
||||||
|
from_port = 22
|
||||||
|
to_port = 22
|
||||||
|
protocol = "tcp"
|
||||||
|
cidr_blocks = ["0.0.0.0/0"] # Open to all, restrict this for security
|
||||||
|
}
|
||||||
|
|
||||||
|
egress {
|
||||||
|
from_port = 0
|
||||||
|
to_port = 0
|
||||||
|
protocol = "-1"
|
||||||
|
cidr_blocks = ["0.0.0.0/0"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_instance" "ec2_vm" {
|
||||||
|
ami = "ami-05b10e08d247fb927" # Replace with a valid AMI ID for your region
|
||||||
|
instance_type = "t2.micro" # Free tier eligible instance type
|
||||||
|
security_groups = [aws_security_group.ec2_sg.name]
|
||||||
|
key_name = "theocorp" # Replace with your AWS key pair name
|
||||||
|
|
||||||
|
tags = {
|
||||||
|
Name = "pangolin"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
output "instance_public_ip" {
|
||||||
|
description = "Public IP of the EC2 instance"
|
||||||
|
value = aws_instance.ec2_vm.public_ip
|
||||||
|
}
|
||||||
|
|||||||
19
netbird.tf
19
netbird.tf
@ -1,19 +0,0 @@
|
|||||||
resource "aws_instance" "ec2_vm_netbird" {
|
|
||||||
ami = "ami-02a53b0d62d37a757" # Replace with a valid AMI ID for your region
|
|
||||||
instance_type = "t2.micro" # Free tier eligible instance type
|
|
||||||
security_groups = [aws_security_group.ec2_sg.name]
|
|
||||||
key_name = "theocorp" # Replace with your AWS key pair name
|
|
||||||
|
|
||||||
tags = {
|
|
||||||
Name = "netbird"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "aws_eip" "ec2_eip_netbird" {
|
|
||||||
instance = aws_instance.ec2_vm_netbird.id
|
|
||||||
}
|
|
||||||
|
|
||||||
output "instance_public_ip_netbird" {
|
|
||||||
description = "Public IP of the Netbird instance"
|
|
||||||
value = aws_eip.ec2_eip_netbird.public_ip
|
|
||||||
}
|
|
||||||
20
pangolin.tf
20
pangolin.tf
@ -1,20 +0,0 @@
|
|||||||
|
|
||||||
resource "aws_instance" "ec2_vm" {
|
|
||||||
ami = "ami-02a53b0d62d37a757" # Replace with a valid AMI ID for your region
|
|
||||||
instance_type = "t2.micro" # Free tier eligible instance type
|
|
||||||
security_groups = [aws_security_group.ec2_sg.name]
|
|
||||||
key_name = "theocorp" # Replace with your AWS key pair name
|
|
||||||
|
|
||||||
tags = {
|
|
||||||
Name = "pangolin"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "aws_eip" "ec2_eip" {
|
|
||||||
instance = aws_instance.ec2_vm.id
|
|
||||||
}
|
|
||||||
|
|
||||||
output "instance_public_ip" {
|
|
||||||
description = "Public IP of the EC2 instance"
|
|
||||||
value = aws_eip.ec2_eip.public_ip
|
|
||||||
}
|
|
||||||
75
sg.tf
75
sg.tf
@ -1,75 +0,0 @@
|
|||||||
|
|
||||||
resource "aws_security_group" "ec2_sg" {
|
|
||||||
name = "aviary-sg"
|
|
||||||
description = "Allow SSH inbound traffic"
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 22
|
|
||||||
to_port = 22
|
|
||||||
protocol = "tcp"
|
|
||||||
cidr_blocks = ["108.237.185.23/32"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 80
|
|
||||||
to_port = 80
|
|
||||||
protocol = "tcp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 443
|
|
||||||
to_port = 443
|
|
||||||
protocol = "tcp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 51820
|
|
||||||
to_port = 51820
|
|
||||||
protocol = "udp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 10000
|
|
||||||
to_port = 10000
|
|
||||||
protocol = "tcp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 33073
|
|
||||||
to_port = 33073
|
|
||||||
protocol = "tcp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 33080
|
|
||||||
to_port = 33080
|
|
||||||
protocol = "tcp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 3478
|
|
||||||
to_port = 3478
|
|
||||||
protocol = "udp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
ingress {
|
|
||||||
from_port = 49152
|
|
||||||
to_port = 65535
|
|
||||||
protocol = "udp"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
|
|
||||||
egress {
|
|
||||||
from_port = 0
|
|
||||||
to_port = 0
|
|
||||||
protocol = "-1"
|
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,105 +1,15 @@
|
|||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "1.10.5",
|
"terraform_version": "1.10.5",
|
||||||
"serial": 48,
|
"serial": 3,
|
||||||
"lineage": "1548454c-cf7f-9153-d2ca-6d37af1f5a24",
|
"lineage": "1548454c-cf7f-9153-d2ca-6d37af1f5a24",
|
||||||
"outputs": {
|
"outputs": {
|
||||||
"instance_public_ip": {
|
"instance_public_ip": {
|
||||||
"value": "44.210.184.15",
|
"value": "34.238.243.13",
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"instance_public_ip_netbird": {
|
|
||||||
"value": "18.211.242.110",
|
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_eip",
|
|
||||||
"name": "ec2_eip",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 0,
|
|
||||||
"attributes": {
|
|
||||||
"address": null,
|
|
||||||
"allocation_id": "eipalloc-0f33067513f18436b",
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:elastic-ip/eipalloc-0f33067513f18436b",
|
|
||||||
"associate_with_private_ip": null,
|
|
||||||
"association_id": "eipassoc-09b2937ea57df42e0",
|
|
||||||
"carrier_ip": "",
|
|
||||||
"customer_owned_ip": "",
|
|
||||||
"customer_owned_ipv4_pool": "",
|
|
||||||
"domain": "vpc",
|
|
||||||
"id": "eipalloc-0f33067513f18436b",
|
|
||||||
"instance": "i-0434f1dba567a3cd7",
|
|
||||||
"ipam_pool_id": null,
|
|
||||||
"network_border_group": "us-east-1",
|
|
||||||
"network_interface": "eni-0ac9da47e8ed218a9",
|
|
||||||
"private_dns": "ip-172-31-83-214.ec2.internal",
|
|
||||||
"private_ip": "172.31.83.214",
|
|
||||||
"ptr_record": "",
|
|
||||||
"public_dns": "ec2-44-210-184-15.compute-1.amazonaws.com",
|
|
||||||
"public_ip": "44.210.184.15",
|
|
||||||
"public_ipv4_pool": "amazon",
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"timeouts": null,
|
|
||||||
"vpc": true
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxODAwMDAwMDAwMDAsInJlYWQiOjkwMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMDB9fQ==",
|
|
||||||
"dependencies": [
|
|
||||||
"aws_instance.ec2_vm",
|
|
||||||
"aws_security_group.ec2_sg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_eip",
|
|
||||||
"name": "ec2_eip_netbird",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 0,
|
|
||||||
"attributes": {
|
|
||||||
"address": null,
|
|
||||||
"allocation_id": "eipalloc-0c63042a76eff7889",
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:elastic-ip/eipalloc-0c63042a76eff7889",
|
|
||||||
"associate_with_private_ip": null,
|
|
||||||
"association_id": "eipassoc-0e3c1e5a6282ecefe",
|
|
||||||
"carrier_ip": "",
|
|
||||||
"customer_owned_ip": "",
|
|
||||||
"customer_owned_ipv4_pool": "",
|
|
||||||
"domain": "vpc",
|
|
||||||
"id": "eipalloc-0c63042a76eff7889",
|
|
||||||
"instance": "i-0d86c676daa4ad5c7",
|
|
||||||
"ipam_pool_id": null,
|
|
||||||
"network_border_group": "us-east-1",
|
|
||||||
"network_interface": "eni-0b11f199514741ce9",
|
|
||||||
"private_dns": "ip-172-31-81-102.ec2.internal",
|
|
||||||
"private_ip": "172.31.81.102",
|
|
||||||
"ptr_record": "",
|
|
||||||
"public_dns": "ec2-18-211-242-110.compute-1.amazonaws.com",
|
|
||||||
"public_ip": "18.211.242.110",
|
|
||||||
"public_ipv4_pool": "amazon",
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"timeouts": null,
|
|
||||||
"vpc": true
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxODAwMDAwMDAwMDAsInJlYWQiOjkwMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMDB9fQ==",
|
|
||||||
"dependencies": [
|
|
||||||
"aws_instance.ec2_vm_netbird",
|
|
||||||
"aws_security_group.ec2_sg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"mode": "managed",
|
"mode": "managed",
|
||||||
"type": "aws_instance",
|
"type": "aws_instance",
|
||||||
@ -109,8 +19,8 @@
|
|||||||
{
|
{
|
||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"ami": "ami-02a53b0d62d37a757",
|
"ami": "ami-05b10e08d247fb927",
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:instance/i-0434f1dba567a3cd7",
|
"arn": "arn:aws:ec2:us-east-1:874570603861:instance/i-0e29c8cbbf71c2ee0",
|
||||||
"associate_public_ip_address": true,
|
"associate_public_ip_address": true,
|
||||||
"availability_zone": "us-east-1a",
|
"availability_zone": "us-east-1a",
|
||||||
"capacity_reservation_specification": [
|
"capacity_reservation_specification": [
|
||||||
@ -149,7 +59,7 @@
|
|||||||
"host_id": "",
|
"host_id": "",
|
||||||
"host_resource_group_arn": null,
|
"host_resource_group_arn": null,
|
||||||
"iam_instance_profile": "",
|
"iam_instance_profile": "",
|
||||||
"id": "i-0434f1dba567a3cd7",
|
"id": "i-0e29c8cbbf71c2ee0",
|
||||||
"instance_initiated_shutdown_behavior": "stop",
|
"instance_initiated_shutdown_behavior": "stop",
|
||||||
"instance_lifecycle": "",
|
"instance_lifecycle": "",
|
||||||
"instance_market_options": [],
|
"instance_market_options": [],
|
||||||
@ -168,8 +78,8 @@
|
|||||||
{
|
{
|
||||||
"http_endpoint": "enabled",
|
"http_endpoint": "enabled",
|
||||||
"http_protocol_ipv6": "disabled",
|
"http_protocol_ipv6": "disabled",
|
||||||
"http_put_response_hop_limit": 1,
|
"http_put_response_hop_limit": 2,
|
||||||
"http_tokens": "optional",
|
"http_tokens": "required",
|
||||||
"instance_metadata_tags": "disabled"
|
"instance_metadata_tags": "disabled"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -179,8 +89,8 @@
|
|||||||
"password_data": "",
|
"password_data": "",
|
||||||
"placement_group": "",
|
"placement_group": "",
|
||||||
"placement_partition_number": 0,
|
"placement_partition_number": 0,
|
||||||
"primary_network_interface_id": "eni-0ac9da47e8ed218a9",
|
"primary_network_interface_id": "eni-001ca41a4fe48c860",
|
||||||
"private_dns": "ip-172-31-83-214.ec2.internal",
|
"private_dns": "ip-172-31-89-239.ec2.internal",
|
||||||
"private_dns_name_options": [
|
"private_dns_name_options": [
|
||||||
{
|
{
|
||||||
"enable_resource_name_dns_a_record": false,
|
"enable_resource_name_dns_a_record": false,
|
||||||
@ -188,27 +98,27 @@
|
|||||||
"hostname_type": "ip-name"
|
"hostname_type": "ip-name"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"private_ip": "172.31.83.214",
|
"private_ip": "172.31.89.239",
|
||||||
"public_dns": "ec2-44-210-184-15.compute-1.amazonaws.com",
|
"public_dns": "ec2-34-238-243-13.compute-1.amazonaws.com",
|
||||||
"public_ip": "44.210.184.15",
|
"public_ip": "34.238.243.13",
|
||||||
"root_block_device": [
|
"root_block_device": [
|
||||||
{
|
{
|
||||||
"delete_on_termination": true,
|
"delete_on_termination": true,
|
||||||
"device_name": "/dev/xvda",
|
"device_name": "/dev/xvda",
|
||||||
"encrypted": false,
|
"encrypted": false,
|
||||||
"iops": 100,
|
"iops": 3000,
|
||||||
"kms_key_id": "",
|
"kms_key_id": "",
|
||||||
"tags": {},
|
"tags": {},
|
||||||
"tags_all": {},
|
"tags_all": {},
|
||||||
"throughput": 0,
|
"throughput": 125,
|
||||||
"volume_id": "vol-0d3cf7178ed164cb7",
|
"volume_id": "vol-0e5fb766eb12bbde8",
|
||||||
"volume_size": 8,
|
"volume_size": 8,
|
||||||
"volume_type": "gp2"
|
"volume_type": "gp3"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"secondary_private_ips": [],
|
"secondary_private_ips": [],
|
||||||
"security_groups": [
|
"security_groups": [
|
||||||
"aviary-sg"
|
"pangolin-sg"
|
||||||
],
|
],
|
||||||
"source_dest_check": true,
|
"source_dest_check": true,
|
||||||
"spot_instance_request_id": "",
|
"spot_instance_request_id": "",
|
||||||
@ -226,144 +136,7 @@
|
|||||||
"user_data_replace_on_change": false,
|
"user_data_replace_on_change": false,
|
||||||
"volume_tags": null,
|
"volume_tags": null,
|
||||||
"vpc_security_group_ids": [
|
"vpc_security_group_ids": [
|
||||||
"sg-0b751004f80b5fe74"
|
"sg-0d82734bca1c8db50"
|
||||||
]
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMCwicmVhZCI6OTAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
|
||||||
"dependencies": [
|
|
||||||
"aws_security_group.ec2_sg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_instance",
|
|
||||||
"name": "ec2_vm_netbird",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 1,
|
|
||||||
"attributes": {
|
|
||||||
"ami": "ami-02a53b0d62d37a757",
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:instance/i-0d86c676daa4ad5c7",
|
|
||||||
"associate_public_ip_address": true,
|
|
||||||
"availability_zone": "us-east-1a",
|
|
||||||
"capacity_reservation_specification": [
|
|
||||||
{
|
|
||||||
"capacity_reservation_preference": "open",
|
|
||||||
"capacity_reservation_target": []
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cpu_core_count": 1,
|
|
||||||
"cpu_options": [
|
|
||||||
{
|
|
||||||
"amd_sev_snp": "",
|
|
||||||
"core_count": 1,
|
|
||||||
"threads_per_core": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cpu_threads_per_core": 1,
|
|
||||||
"credit_specification": [
|
|
||||||
{
|
|
||||||
"cpu_credits": "standard"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"disable_api_stop": false,
|
|
||||||
"disable_api_termination": false,
|
|
||||||
"ebs_block_device": [],
|
|
||||||
"ebs_optimized": false,
|
|
||||||
"enable_primary_ipv6": null,
|
|
||||||
"enclave_options": [
|
|
||||||
{
|
|
||||||
"enabled": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ephemeral_block_device": [],
|
|
||||||
"get_password_data": false,
|
|
||||||
"hibernation": false,
|
|
||||||
"host_id": "",
|
|
||||||
"host_resource_group_arn": null,
|
|
||||||
"iam_instance_profile": "",
|
|
||||||
"id": "i-0d86c676daa4ad5c7",
|
|
||||||
"instance_initiated_shutdown_behavior": "stop",
|
|
||||||
"instance_lifecycle": "",
|
|
||||||
"instance_market_options": [],
|
|
||||||
"instance_state": "running",
|
|
||||||
"instance_type": "t2.micro",
|
|
||||||
"ipv6_address_count": 0,
|
|
||||||
"ipv6_addresses": [],
|
|
||||||
"key_name": "theocorp",
|
|
||||||
"launch_template": [],
|
|
||||||
"maintenance_options": [
|
|
||||||
{
|
|
||||||
"auto_recovery": "default"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"metadata_options": [
|
|
||||||
{
|
|
||||||
"http_endpoint": "enabled",
|
|
||||||
"http_protocol_ipv6": "disabled",
|
|
||||||
"http_put_response_hop_limit": 1,
|
|
||||||
"http_tokens": "optional",
|
|
||||||
"instance_metadata_tags": "disabled"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"monitoring": false,
|
|
||||||
"network_interface": [],
|
|
||||||
"outpost_arn": "",
|
|
||||||
"password_data": "",
|
|
||||||
"placement_group": "",
|
|
||||||
"placement_partition_number": 0,
|
|
||||||
"primary_network_interface_id": "eni-0b11f199514741ce9",
|
|
||||||
"private_dns": "ip-172-31-81-102.ec2.internal",
|
|
||||||
"private_dns_name_options": [
|
|
||||||
{
|
|
||||||
"enable_resource_name_dns_a_record": false,
|
|
||||||
"enable_resource_name_dns_aaaa_record": false,
|
|
||||||
"hostname_type": "ip-name"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"private_ip": "172.31.81.102",
|
|
||||||
"public_dns": "ec2-18-211-242-110.compute-1.amazonaws.com",
|
|
||||||
"public_ip": "18.211.242.110",
|
|
||||||
"root_block_device": [
|
|
||||||
{
|
|
||||||
"delete_on_termination": true,
|
|
||||||
"device_name": "/dev/xvda",
|
|
||||||
"encrypted": false,
|
|
||||||
"iops": 100,
|
|
||||||
"kms_key_id": "",
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"throughput": 0,
|
|
||||||
"volume_id": "vol-08238e1cc82c3d352",
|
|
||||||
"volume_size": 8,
|
|
||||||
"volume_type": "gp2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"secondary_private_ips": [],
|
|
||||||
"security_groups": [
|
|
||||||
"aviary-sg"
|
|
||||||
],
|
|
||||||
"source_dest_check": true,
|
|
||||||
"spot_instance_request_id": "",
|
|
||||||
"subnet_id": "subnet-02a8be59a072d7d45",
|
|
||||||
"tags": {
|
|
||||||
"Name": "netbird"
|
|
||||||
},
|
|
||||||
"tags_all": {
|
|
||||||
"Name": "netbird"
|
|
||||||
},
|
|
||||||
"tenancy": "default",
|
|
||||||
"timeouts": null,
|
|
||||||
"user_data": null,
|
|
||||||
"user_data_base64": null,
|
|
||||||
"user_data_replace_on_change": false,
|
|
||||||
"volume_tags": null,
|
|
||||||
"vpc_security_group_ids": [
|
|
||||||
"sg-0b751004f80b5fe74"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"sensitive_attributes": [],
|
"sensitive_attributes": [],
|
||||||
@ -383,7 +156,7 @@
|
|||||||
{
|
{
|
||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:security-group/sg-0b751004f80b5fe74",
|
"arn": "arn:aws:ec2:us-east-1:874570603861:security-group/sg-0d82734bca1c8db50",
|
||||||
"description": "Allow SSH inbound traffic",
|
"description": "Allow SSH inbound traffic",
|
||||||
"egress": [
|
"egress": [
|
||||||
{
|
{
|
||||||
@ -400,117 +173,13 @@
|
|||||||
"to_port": 0
|
"to_port": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"id": "sg-0b751004f80b5fe74",
|
"id": "sg-0d82734bca1c8db50",
|
||||||
"ingress": [
|
"ingress": [
|
||||||
{
|
{
|
||||||
"cidr_blocks": [
|
"cidr_blocks": [
|
||||||
"0.0.0.0/0"
|
"0.0.0.0/0"
|
||||||
],
|
],
|
||||||
"description": "",
|
"description": "",
|
||||||
"from_port": 10000,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 10000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 33073,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 33073
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 33080,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 33080
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 3478,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "udp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 3478
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 443,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 443
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 49152,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "udp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 65535
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 51820,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "udp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 51820
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 80,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 80
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"108.237.185.23/32"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 22,
|
"from_port": 22,
|
||||||
"ipv6_cidr_blocks": [],
|
"ipv6_cidr_blocks": [],
|
||||||
"prefix_list_ids": [],
|
"prefix_list_ids": [],
|
||||||
@ -520,11 +189,11 @@
|
|||||||
"to_port": 22
|
"to_port": 22
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"name": "aviary-sg",
|
"name": "pangolin-sg",
|
||||||
"name_prefix": "",
|
"name_prefix": "",
|
||||||
"owner_id": "874570603861",
|
"owner_id": "874570603861",
|
||||||
"revoke_rules_on_delete": false,
|
"revoke_rules_on_delete": false,
|
||||||
"tags": {},
|
"tags": null,
|
||||||
"tags_all": {},
|
"tags_all": {},
|
||||||
"timeouts": null,
|
"timeouts": null,
|
||||||
"vpc_id": "vpc-0ea47c82201349205"
|
"vpc_id": "vpc-0ea47c82201349205"
|
||||||
|
|||||||
@ -1,539 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 4,
|
|
||||||
"terraform_version": "1.10.5",
|
|
||||||
"serial": 47,
|
|
||||||
"lineage": "1548454c-cf7f-9153-d2ca-6d37af1f5a24",
|
|
||||||
"outputs": {
|
|
||||||
"instance_public_ip": {
|
|
||||||
"value": "44.210.184.15",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"instance_public_ip_netbird": {
|
|
||||||
"value": "18.211.242.110",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"resources": [
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_eip",
|
|
||||||
"name": "ec2_eip",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 0,
|
|
||||||
"attributes": {
|
|
||||||
"address": null,
|
|
||||||
"allocation_id": "eipalloc-0f33067513f18436b",
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:elastic-ip/eipalloc-0f33067513f18436b",
|
|
||||||
"associate_with_private_ip": null,
|
|
||||||
"association_id": "eipassoc-09b2937ea57df42e0",
|
|
||||||
"carrier_ip": "",
|
|
||||||
"customer_owned_ip": "",
|
|
||||||
"customer_owned_ipv4_pool": "",
|
|
||||||
"domain": "vpc",
|
|
||||||
"id": "eipalloc-0f33067513f18436b",
|
|
||||||
"instance": "i-0434f1dba567a3cd7",
|
|
||||||
"ipam_pool_id": null,
|
|
||||||
"network_border_group": "us-east-1",
|
|
||||||
"network_interface": "eni-0ac9da47e8ed218a9",
|
|
||||||
"private_dns": "ip-172-31-83-214.ec2.internal",
|
|
||||||
"private_ip": "172.31.83.214",
|
|
||||||
"ptr_record": "",
|
|
||||||
"public_dns": "ec2-44-210-184-15.compute-1.amazonaws.com",
|
|
||||||
"public_ip": "44.210.184.15",
|
|
||||||
"public_ipv4_pool": "amazon",
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"timeouts": null,
|
|
||||||
"vpc": true
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxODAwMDAwMDAwMDAsInJlYWQiOjkwMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMDB9fQ==",
|
|
||||||
"dependencies": [
|
|
||||||
"aws_instance.ec2_vm",
|
|
||||||
"aws_security_group.ec2_sg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_eip",
|
|
||||||
"name": "ec2_eip_netbird",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 0,
|
|
||||||
"attributes": {
|
|
||||||
"address": null,
|
|
||||||
"allocation_id": "eipalloc-0c63042a76eff7889",
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:elastic-ip/eipalloc-0c63042a76eff7889",
|
|
||||||
"associate_with_private_ip": null,
|
|
||||||
"association_id": "eipassoc-0e3c1e5a6282ecefe",
|
|
||||||
"carrier_ip": "",
|
|
||||||
"customer_owned_ip": "",
|
|
||||||
"customer_owned_ipv4_pool": "",
|
|
||||||
"domain": "vpc",
|
|
||||||
"id": "eipalloc-0c63042a76eff7889",
|
|
||||||
"instance": "i-0d86c676daa4ad5c7",
|
|
||||||
"ipam_pool_id": null,
|
|
||||||
"network_border_group": "us-east-1",
|
|
||||||
"network_interface": "eni-0b11f199514741ce9",
|
|
||||||
"private_dns": "ip-172-31-81-102.ec2.internal",
|
|
||||||
"private_ip": "172.31.81.102",
|
|
||||||
"ptr_record": "",
|
|
||||||
"public_dns": "ec2-18-211-242-110.compute-1.amazonaws.com",
|
|
||||||
"public_ip": "18.211.242.110",
|
|
||||||
"public_ipv4_pool": "amazon",
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"timeouts": null,
|
|
||||||
"vpc": true
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxODAwMDAwMDAwMDAsInJlYWQiOjkwMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMDB9fQ==",
|
|
||||||
"dependencies": [
|
|
||||||
"aws_instance.ec2_vm_netbird",
|
|
||||||
"aws_security_group.ec2_sg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_instance",
|
|
||||||
"name": "ec2_vm",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 1,
|
|
||||||
"attributes": {
|
|
||||||
"ami": "ami-02a53b0d62d37a757",
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:instance/i-0434f1dba567a3cd7",
|
|
||||||
"associate_public_ip_address": true,
|
|
||||||
"availability_zone": "us-east-1a",
|
|
||||||
"capacity_reservation_specification": [
|
|
||||||
{
|
|
||||||
"capacity_reservation_preference": "open",
|
|
||||||
"capacity_reservation_target": []
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cpu_core_count": 1,
|
|
||||||
"cpu_options": [
|
|
||||||
{
|
|
||||||
"amd_sev_snp": "",
|
|
||||||
"core_count": 1,
|
|
||||||
"threads_per_core": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cpu_threads_per_core": 1,
|
|
||||||
"credit_specification": [
|
|
||||||
{
|
|
||||||
"cpu_credits": "standard"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"disable_api_stop": false,
|
|
||||||
"disable_api_termination": false,
|
|
||||||
"ebs_block_device": [],
|
|
||||||
"ebs_optimized": false,
|
|
||||||
"enable_primary_ipv6": null,
|
|
||||||
"enclave_options": [
|
|
||||||
{
|
|
||||||
"enabled": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ephemeral_block_device": [],
|
|
||||||
"get_password_data": false,
|
|
||||||
"hibernation": false,
|
|
||||||
"host_id": "",
|
|
||||||
"host_resource_group_arn": null,
|
|
||||||
"iam_instance_profile": "",
|
|
||||||
"id": "i-0434f1dba567a3cd7",
|
|
||||||
"instance_initiated_shutdown_behavior": "stop",
|
|
||||||
"instance_lifecycle": "",
|
|
||||||
"instance_market_options": [],
|
|
||||||
"instance_state": "running",
|
|
||||||
"instance_type": "t2.micro",
|
|
||||||
"ipv6_address_count": 0,
|
|
||||||
"ipv6_addresses": [],
|
|
||||||
"key_name": "theocorp",
|
|
||||||
"launch_template": [],
|
|
||||||
"maintenance_options": [
|
|
||||||
{
|
|
||||||
"auto_recovery": "default"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"metadata_options": [
|
|
||||||
{
|
|
||||||
"http_endpoint": "enabled",
|
|
||||||
"http_protocol_ipv6": "disabled",
|
|
||||||
"http_put_response_hop_limit": 1,
|
|
||||||
"http_tokens": "optional",
|
|
||||||
"instance_metadata_tags": "disabled"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"monitoring": false,
|
|
||||||
"network_interface": [],
|
|
||||||
"outpost_arn": "",
|
|
||||||
"password_data": "",
|
|
||||||
"placement_group": "",
|
|
||||||
"placement_partition_number": 0,
|
|
||||||
"primary_network_interface_id": "eni-0ac9da47e8ed218a9",
|
|
||||||
"private_dns": "ip-172-31-83-214.ec2.internal",
|
|
||||||
"private_dns_name_options": [
|
|
||||||
{
|
|
||||||
"enable_resource_name_dns_a_record": false,
|
|
||||||
"enable_resource_name_dns_aaaa_record": false,
|
|
||||||
"hostname_type": "ip-name"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"private_ip": "172.31.83.214",
|
|
||||||
"public_dns": "ec2-44-210-184-15.compute-1.amazonaws.com",
|
|
||||||
"public_ip": "44.210.184.15",
|
|
||||||
"root_block_device": [
|
|
||||||
{
|
|
||||||
"delete_on_termination": true,
|
|
||||||
"device_name": "/dev/xvda",
|
|
||||||
"encrypted": false,
|
|
||||||
"iops": 100,
|
|
||||||
"kms_key_id": "",
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"throughput": 0,
|
|
||||||
"volume_id": "vol-0d3cf7178ed164cb7",
|
|
||||||
"volume_size": 8,
|
|
||||||
"volume_type": "gp2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"secondary_private_ips": [],
|
|
||||||
"security_groups": [
|
|
||||||
"aviary-sg"
|
|
||||||
],
|
|
||||||
"source_dest_check": true,
|
|
||||||
"spot_instance_request_id": "",
|
|
||||||
"subnet_id": "subnet-02a8be59a072d7d45",
|
|
||||||
"tags": {
|
|
||||||
"Name": "pangolin"
|
|
||||||
},
|
|
||||||
"tags_all": {
|
|
||||||
"Name": "pangolin"
|
|
||||||
},
|
|
||||||
"tenancy": "default",
|
|
||||||
"timeouts": null,
|
|
||||||
"user_data": null,
|
|
||||||
"user_data_base64": null,
|
|
||||||
"user_data_replace_on_change": false,
|
|
||||||
"volume_tags": null,
|
|
||||||
"vpc_security_group_ids": [
|
|
||||||
"sg-0b751004f80b5fe74"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMCwicmVhZCI6OTAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
|
||||||
"dependencies": [
|
|
||||||
"aws_security_group.ec2_sg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_instance",
|
|
||||||
"name": "ec2_vm_netbird",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 1,
|
|
||||||
"attributes": {
|
|
||||||
"ami": "ami-02a53b0d62d37a757",
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:instance/i-0d86c676daa4ad5c7",
|
|
||||||
"associate_public_ip_address": true,
|
|
||||||
"availability_zone": "us-east-1a",
|
|
||||||
"capacity_reservation_specification": [
|
|
||||||
{
|
|
||||||
"capacity_reservation_preference": "open",
|
|
||||||
"capacity_reservation_target": []
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cpu_core_count": 1,
|
|
||||||
"cpu_options": [
|
|
||||||
{
|
|
||||||
"amd_sev_snp": "",
|
|
||||||
"core_count": 1,
|
|
||||||
"threads_per_core": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cpu_threads_per_core": 1,
|
|
||||||
"credit_specification": [
|
|
||||||
{
|
|
||||||
"cpu_credits": "standard"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"disable_api_stop": false,
|
|
||||||
"disable_api_termination": false,
|
|
||||||
"ebs_block_device": [],
|
|
||||||
"ebs_optimized": false,
|
|
||||||
"enable_primary_ipv6": null,
|
|
||||||
"enclave_options": [
|
|
||||||
{
|
|
||||||
"enabled": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ephemeral_block_device": [],
|
|
||||||
"get_password_data": false,
|
|
||||||
"hibernation": false,
|
|
||||||
"host_id": "",
|
|
||||||
"host_resource_group_arn": null,
|
|
||||||
"iam_instance_profile": "",
|
|
||||||
"id": "i-0d86c676daa4ad5c7",
|
|
||||||
"instance_initiated_shutdown_behavior": "stop",
|
|
||||||
"instance_lifecycle": "",
|
|
||||||
"instance_market_options": [],
|
|
||||||
"instance_state": "running",
|
|
||||||
"instance_type": "t2.micro",
|
|
||||||
"ipv6_address_count": 0,
|
|
||||||
"ipv6_addresses": [],
|
|
||||||
"key_name": "theocorp",
|
|
||||||
"launch_template": [],
|
|
||||||
"maintenance_options": [
|
|
||||||
{
|
|
||||||
"auto_recovery": "default"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"metadata_options": [
|
|
||||||
{
|
|
||||||
"http_endpoint": "enabled",
|
|
||||||
"http_protocol_ipv6": "disabled",
|
|
||||||
"http_put_response_hop_limit": 1,
|
|
||||||
"http_tokens": "optional",
|
|
||||||
"instance_metadata_tags": "disabled"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"monitoring": false,
|
|
||||||
"network_interface": [],
|
|
||||||
"outpost_arn": "",
|
|
||||||
"password_data": "",
|
|
||||||
"placement_group": "",
|
|
||||||
"placement_partition_number": 0,
|
|
||||||
"primary_network_interface_id": "eni-0b11f199514741ce9",
|
|
||||||
"private_dns": "ip-172-31-81-102.ec2.internal",
|
|
||||||
"private_dns_name_options": [
|
|
||||||
{
|
|
||||||
"enable_resource_name_dns_a_record": false,
|
|
||||||
"enable_resource_name_dns_aaaa_record": false,
|
|
||||||
"hostname_type": "ip-name"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"private_ip": "172.31.81.102",
|
|
||||||
"public_dns": "ec2-18-211-242-110.compute-1.amazonaws.com",
|
|
||||||
"public_ip": "18.211.242.110",
|
|
||||||
"root_block_device": [
|
|
||||||
{
|
|
||||||
"delete_on_termination": true,
|
|
||||||
"device_name": "/dev/xvda",
|
|
||||||
"encrypted": false,
|
|
||||||
"iops": 100,
|
|
||||||
"kms_key_id": "",
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"throughput": 0,
|
|
||||||
"volume_id": "vol-08238e1cc82c3d352",
|
|
||||||
"volume_size": 8,
|
|
||||||
"volume_type": "gp2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"secondary_private_ips": [],
|
|
||||||
"security_groups": [
|
|
||||||
"aviary-sg"
|
|
||||||
],
|
|
||||||
"source_dest_check": true,
|
|
||||||
"spot_instance_request_id": "",
|
|
||||||
"subnet_id": "subnet-02a8be59a072d7d45",
|
|
||||||
"tags": {
|
|
||||||
"Name": "netbird"
|
|
||||||
},
|
|
||||||
"tags_all": {
|
|
||||||
"Name": "netbird"
|
|
||||||
},
|
|
||||||
"tenancy": "default",
|
|
||||||
"timeouts": null,
|
|
||||||
"user_data": null,
|
|
||||||
"user_data_base64": null,
|
|
||||||
"user_data_replace_on_change": false,
|
|
||||||
"volume_tags": null,
|
|
||||||
"vpc_security_group_ids": [
|
|
||||||
"sg-0b751004f80b5fe74"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMCwicmVhZCI6OTAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
|
||||||
"dependencies": [
|
|
||||||
"aws_security_group.ec2_sg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"mode": "managed",
|
|
||||||
"type": "aws_security_group",
|
|
||||||
"name": "ec2_sg",
|
|
||||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
||||||
"instances": [
|
|
||||||
{
|
|
||||||
"schema_version": 1,
|
|
||||||
"attributes": {
|
|
||||||
"arn": "arn:aws:ec2:us-east-1:874570603861:security-group/sg-0b751004f80b5fe74",
|
|
||||||
"description": "Allow SSH inbound traffic",
|
|
||||||
"egress": [
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 0,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "-1",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": "sg-0b751004f80b5fe74",
|
|
||||||
"ingress": [
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 10000,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 10000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 33073,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 33073
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 33080,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 33080
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 3478,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "udp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 3478
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": "",
|
|
||||||
"from_port": 49152,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "udp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 65535
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": null,
|
|
||||||
"from_port": 443,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 443
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": null,
|
|
||||||
"from_port": 51820,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "udp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 51820
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"0.0.0.0/0"
|
|
||||||
],
|
|
||||||
"description": null,
|
|
||||||
"from_port": 80,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 80
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cidr_blocks": [
|
|
||||||
"108.237.185.23/32"
|
|
||||||
],
|
|
||||||
"description": null,
|
|
||||||
"from_port": 22,
|
|
||||||
"ipv6_cidr_blocks": [],
|
|
||||||
"prefix_list_ids": [],
|
|
||||||
"protocol": "tcp",
|
|
||||||
"security_groups": [],
|
|
||||||
"self": false,
|
|
||||||
"to_port": 22
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "aviary-sg",
|
|
||||||
"name_prefix": "",
|
|
||||||
"owner_id": "874570603861",
|
|
||||||
"revoke_rules_on_delete": false,
|
|
||||||
"tags": {},
|
|
||||||
"tags_all": {},
|
|
||||||
"timeouts": null,
|
|
||||||
"vpc_id": "vpc-0ea47c82201349205"
|
|
||||||
},
|
|
||||||
"sensitive_attributes": [],
|
|
||||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"check_results": null
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user