Updated Aws Ansible, added elastic IP. #91
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the AWS provisioning playbook to improve compatibility with the latest Ansible modules and enhance functionality. Key changes include replacing deprecated modules, adding
register
statements for debugging and tracking, and introducing Elastic IP (EIP) association for EC2 instances.Updates to AWS Modules and Resource Management:
community.aws.ec2_vpc_endpoint
andamazon.aws.aws_s3
modules withamazon.aws.ec2_vpc_endpoint
andamazon.aws.s3_object
for better compatibility with the latest Ansible versions. [1] [2]amazon.aws.ec2
module toamazon.aws.ec2_instance
for EC2 provisioning, introducing changes likedetailed_monitoring
,network
configuration, andtags
instead ofinstance_tags
.Debugging and State Tracking:
register
statements to multiple tasks (e.g.,butane_ignition_stdout
,forem_vpc_id_fact
,forem_vpcd_route_table_ids_fact
) to capture task outputs for debugging and downstream usage. [1] [2] [3]Elastic IP Management:
Minor Fixes and Enhancements: