Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Nov 21, 2024
1 parent 1d7bf6e commit d7b8b80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions roles/ec2_instance_create/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,26 @@ The following variables can be set in the role to customize EC2 instance creatio

### Optional Networking Resources

#### Elastic IP

* **ec2_instance_create_associate_eip**: (Optional)
Whether to create an Elastic IP (EIP) and associate it with the EC2 instance. Default is `false`.
If set to `true` and provided VPC doesn't have an Internet Gateway (IGW) attached, please set `ec2_instance_create_associate_igw` to true to avoid failure due to VPC not having IGW attached.

* **ec2_instance_create_eip_tags**: (Optional)
Tags to assign to the elastic IP.

#### Internet Gateway

* **ec2_instance_create_associate_igw**: (Optional)
Whether to create and associate an internet gateway with the EC2 instance. Default is `false`.
If set to `true`, an internet gateway will be created or associated with the instance.

* **ec2_instance_create_igw_tags**: (Optional)
Tags to assign to the internet gateway.

#### External Security Group

* **ec2_instance_create_associate_external_sg**: (Optional)
Whether to create and associate a security group with the EC2 instance for external access. Default is `false`.
If set to `true`, a security group will be created or associated with the instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
route_table_id: "{{ rtb_info.route_tables[0].id }}"
lookup: id
state: absent
ignore_errors: true
ignore_errors: true

0 comments on commit d7b8b80

Please sign in to comment.