func AWSEC2TrafficMirrorFilterRuleBP() {
	color.Green("\nresource \"aws_ec2_traffic_mirror_filter\" \"filter\" {\n  description      = \"traffic mirror filter - terraform example\"\n  network_services = [\"amazon-dns\"]\n}\n\nresource \"aws_ec2_traffic_mirror_filter_rule\" \"ruleout\" {\n  description              = \"test rule\"\n  traffic_mirror_filter_id = aws_ec2_traffic_mirror_filter.filter.id\n  destination_cidr_block   = \"10.0.0.0/8\"\n  source_cidr_block        = \"10.0.0.0/8\"\n  rule_number              = 1\n  rule_action              = \"accept\"\n  traffic_direction        = \"egress\"\n}\n\nresource \"aws_ec2_traffic_mirror_filter_rule\" \"rulein\" {\n  description              = \"test rule\"\n  traffic_mirror_filter_id = aws_ec2_traffic_mirror_filter.filter.id\n  destination_cidr_block   = \"10.0.0.0/8\"\n  source_cidr_block        = \"10.0.0.0/8\"\n  rule_number              = 1\n  rule_action              = \"accept\"\n  traffic_direction        = \"ingress\"\n  protocol                 = 6\n\n  destination_port_range {\n    from_port = 22\n    to_port   = 53\n  }\n\n  source_port_range {\n    from_port = 0\n    to_port   = 10\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_traffic_mirror_filter_rule\n\n")
}
AWSEC2TrafficMirrorFilterRuleBP provides the boilerplate for aws_ec2_traffic_mirror_filter_rule
package resourcebps
import (
	"github.com/fatih/color"
)
func AWSEC2InstanceBP() {
	color.Green("\nresource \"aws_instance\" \"foo\" {\n  ami           = data.aws_ami.ubuntu.id\n  instance_type = \"t3.micro\"\n\n  tags = {\n    Name = \"HelloWorld\"\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance\n\n")
}
func AWSAMIBP() {
	color.Green("\n# Create an AMI that will start a machine whose root device is backed by\n# an EBS volume populated from a snapshot. It is assumed that such a snapshot\n# already exists with the id \"snap-xxxxxxxx\".\nresource \"aws_ami\" \"example\" {\n  name                = \"terraform-example\"\n  virtualization_type = \"hvm\"\n  root_device_name    = \"/dev/xvda\"\n\n  ebs_block_device {\n    device_name = \"/dev/xvda\"\n    snapshot_id = \"snap-xxxxxxxx\"\n    volume_size = 8\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ami\n\n")
}
func AWSAMICopyBP() {
	color.Green("\nresource \"aws_ami_copy\" \"example\" {\n  name              = \"terraform-example\"\n  description       = \"A copy of ami-xxxxxxxx\"\n  source_ami_id     = \"ami-xxxxxxxx\"\n  source_ami_region = \"us-west-1\"\n\n  tags = {\n    Name = \"HelloWorld\"\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ami_copy\n\n")
}
func AWSAMIFromInstanceBP() {
	color.Green("\nresource \"aws_ami_from_instance\" \"example\" {\n  name               = \"terraform-example\"\n  source_instance_id = \"i-xxxxxxxx\"\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ami_from_instance\n\n")
}
func AWSAMIFromLaunchPermissionBP() {
	color.Green("\nresource \"aws_ami_launch_permission\" \"example\" {\n  image_id   = \"ami-12345678\"\n  account_id = \"123456789012\"\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ami_launch_permission\n\n")
}
func AWSEBSDefaultKMSKeyBP() {
	color.Green("\nresource \"aws_ebs_default_kms_key\" \"example\" {\n  key_arn = aws_kms_key.example.arn\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_default_kms_key\n\n")
}
func AWSEBSEncryptionByDefaultBP() {
	color.Green("\nresource \"aws_ebs_encryption_by_default\" \"example\" {\n  enabled = true\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_encryption_by_default\n\n")
}
func AWSEBSSnapshotBP() {
	color.Green("\nresource \"aws_ebs_snapshot\" \"example_snapshot\" {\n  volume_id = aws_ebs_volume.example.id\n\n  tags = {\n    Name = \"HelloWorld_snap\"\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_snapshot\n\n")
}
func AWSEBSSnapshotCopyBP() {
	color.Green("\nresource \"aws_ebs_snapshot_copy\" \"example_copy\" {\n  source_snapshot_id = aws_ebs_snapshot.example_snapshot.id\n  source_region      = \"us-west-2\"\n\n  tags = {\n    Name = \"HelloWorld_copy_snap\"\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_snapshot_copy\n\n")
}
func AWSEBSVolumeBP() {
	color.Green("\nresource \"aws_ebs_volume\" \"example\" {\n  availability_zone = \"us-west-2a\"\n  size              = 40\n\n  tags = {\n    Name = \"HelloWorld\"\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_volume\n\n")
}
func AWSEC2AvailabilityZoneGroupBP() {
	color.Green("\nresource \"aws_ec2_availability_zone_group\" \"example\" {\n  group_name    = \"us-west-2-lax-1\"\n  opt_in_status = \"opted-in\"\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_availability_zone_group\n\n")
}
func AWSEC2CapacityReservationBP() {
	color.Green("\nresource \"aws_ec2_capacity_reservation\" \"default\" {\n  instance_type     = \"t2.micro\"\n  instance_platform = \"Linux/UNIX\"\n  availability_zone = \"eu-west-1a\"\n  instance_count    = 1\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_capacity_reservation\n\n")
}
func AWSEC2CarrierGatewayPrompt() {
	color.Green("\nresource \"aws_ec2_carrier_gateway\" \"example\" {\n  vpc_id = aws_vpc.example.id\n\n  tags = {\n    Name = \"example-carrier-gateway\"\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_carrier_gateway\n\n")
}
func AWSEC2ClientVPNAuthorizationRuleBP() {
	color.Green("\nresource \"aws_ec2_client_vpn_authorization_rule\" \"example\" {\n  client_vpn_endpoint_id = aws_ec2_client_vpn_endpoint.example.id\n  target_network_cidr    = aws_subnet.example.cidr_block\n  authorize_all_groups   = true\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_client_vpn_authorization_rule\n\n")
}
func AWSEC2ClientVPNEndpointBP() {
	color.Green("\nresource \"aws_ec2_client_vpn_endpoint\" \"example\" {\n  description            = \"terraform-clientvpn-example\"\n  server_certificate_arn = aws_acm_certificate.cert.arn\n  client_cidr_block      = \"10.0.0.0/16\"\n\n  authentication_options {\n    type                       = \"certificate-authentication\"\n    root_certificate_chain_arn = aws_acm_certificate.root_cert.arn\n  }\n\n  connection_log_options {\n    enabled               = true\n    cloudwatch_log_group  = aws_cloudwatch_log_group.lg.name\n    cloudwatch_log_stream = aws_cloudwatch_log_stream.ls.name\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_client_vpn_endpoint\n\n")
}
func AWSEC2ClientVPNNetworkAssociationBP() {
	color.Green("\nresource \"aws_ec2_client_vpn_network_association\" \"example\" {\n  client_vpn_endpoint_id = aws_ec2_client_vpn_endpoint.example.id\n  subnet_id              = aws_subnet.example.id\n  security_groups        = [aws_security_group.example1.id, aws_security_group.example2.id]\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_client_vpn_network_association\n\n")
}
func AWSEC2ClientVPNRouteBP() {
	color.Green("\nresource \"aws_ec2_client_vpn_route\" \"example\" {\n  client_vpn_endpoint_id = aws_ec2_client_vpn_endpoint.example.id\n  destination_cidr_block = \"0.0.0.0/0\"\n  target_vpc_subnet_id   = aws_ec2_client_vpn_network_association.example.subnet_id\n}\n\nresource \"aws_ec2_client_vpn_network_association\" \"example\" {\n  client_vpn_endpoint_id = aws_ec2_client_vpn_endpoint.example.id\n  subnet_id              = aws_subnet.example.id\n}\n\nresource \"aws_ec2_client_vpn_endpoint\" \"example\" {\n  description            = \"Example Client VPN endpoint\"\n  server_certificate_arn = aws_acm_certificate.example.arn\n  client_cidr_block      = \"10.0.0.0/16\"\n\n  authentication_options {\n    type                       = \"certificate-authentication\"\n    root_certificate_chain_arn = aws_acm_certificate.example.arn\n  }\n\n  connection_log_options {\n    enabled = false\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_client_vpn_route\n\n")
}
func AWSEC2FleetBP() {
	color.Green("\nresource \"aws_ec2_fleet\" \"example\" {\n  launch_template_config {\n    launch_template_specification {\n      launch_template_id = aws_launch_template.example.id\n      version            = aws_launch_template.example.latest_version\n    }\n  }\n\n  target_capacity_specification {\n    default_target_capacity_type = \"spot\"\n    total_target_capacity        = 5\n  }\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_fleet\n\n")
}
func AWSEC2LocalGatewayRouteBP() {
	color.Green("\nresource \"aws_ec2_local_gateway_route\" \"example\" {\n  destination_cidr_block                   = \"172.16.0.0/16\"\n  local_gateway_route_table_id             = data.aws_ec2_local_gateway_route_table.example.id\n  local_gateway_virtual_interface_group_id = data.aws_ec2_local_gateway_virtual_interface_group.example.id\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_local_gateway_route\n\n")
}
func AWSEC2LocalGatewayRouteTableVPCAssociationBP() {
	color.Green("\ndata \"aws_ec2_local_gateway_route_table\" \"example\" {\n  outpost_arn = \"arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef\"\n}\n\nresource \"aws_vpc\" \"example\" {\n  cidr_block = \"10.0.0.0/16\"\n}\n\nresource \"aws_ec2_local_gateway_route_table_vpc_association\" \"example\" {\n  local_gateway_route_table_id = data.aws_ec2_local_gateway_route_table.example.id\n  vpc_id                       = aws_vpc.example.id\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_local_gateway_route_table_vpc_association\n\n")
}
func AWSEC2TagBP() {
	color.Green("\nresource \"aws_ec2_transit_gateway\" \"example\" {}\n\nresource \"aws_customer_gateway\" \"example\" {\n  bgp_asn    = 65000\n  ip_address = \"172.0.0.1\"\n  type       = \"ipsec.1\"\n}\n\nresource \"aws_vpn_connection\" \"example\" {\n  customer_gateway_id = aws_customer_gateway.example.id\n  transit_gateway_id  = aws_ec2_transit_gateway.example.id\n  type                = aws_customer_gateway.example.type\n}\n\nresource \"aws_ec2_tag\" \"example\" {\n  resource_id = aws_vpn_connection.example.transit_gateway_attachment_id\n  key         = \"Name\"\n  value       = \"Hello World\"\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_tag\n\n")
}
func AWSEC2TrafficMirrorFilterBP() {
	color.Green("\nresource \"aws_ec2_traffic_mirror_filter\" \"foo\" {\n  description      = \"traffic mirror filter - terraform example\"\n  network_services = [\"amazon-dns\"]\n}")
	color.Yellow("\nCheckout https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_traffic_mirror_filter\n\n")
}