Difference between revisions of "Network configuration"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#network_configuration | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#network_configuration | ||
+ | network_configuration support the following: | ||
+ | |||
+ | * [[subnets]] - (Required) Subnets associated with the task or service. | ||
+ | * [[security_groups]] - (Optional) Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. | ||
+ | * [[assign_public_ip]] - (Optional) Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false. | ||
* {{aws_ecs_service}} | * {{aws_ecs_service}} |
Revision as of 09:21, 17 May 2023
network_configuration support the following:
- subnets - (Required) Subnets associated with the task or service.
- security_groups - (Optional) Security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
- assign_public_ip - (Optional) Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false.
- Terraform resource:
aws_ecs_service: launch_type (EC2, FARGATE), iam_role, depends_on, load_balancer, desired_count, placement_constraints, deployment_minimum_healthy_percent, iam role
Advertising: