Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ec2_eip: apply the tags during the object creation #1505

Conversation

goneri
Copy link
Member

@goneri goneri commented Sep 20, 2022

Depends-On: #1495

Apply the tags during the Elastic IP creation using TagSpecifications. This to avoid
a potential race condition between the moment the object is created and the moment we apply
the tags.

See: #1495 (comment)

@goneri goneri force-pushed the ec2_eip-apply-the-tags-during-the-object-creation_861 branch from 6fe2d35 to cbdec5f Compare September 20, 2022 15:12
Apply the tags during the Elastic IP creation using `TagSpecifications`. This to avoid
a potential race condition between the moment the object is created and the moment we apply
the tags.

See: ansible-collections#1495 (comment)
@goneri goneri force-pushed the ec2_eip-apply-the-tags-during-the-object-creation_861 branch from cbdec5f to 784ea45 Compare September 20, 2022 15:34
@goneri goneri requested a review from tremble September 20, 2022 15:35
@ansibullbot
Copy link

@goneri: Greetings! Thanks for taking the time to open this pullrequest. In order for the community to handle your pullrequest effectively, we need a bit more information.

Here are the items we could not find in your description:

  • issue type

Please set the description of this pullrequest with this template:
https://raw.githubusercontent.com/ansible/ansible/devel/.github/PULL_REQUEST_TEMPLATE.md

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added module module needs_info This issue requires further information. Please answer any outstanding questions needs_template This issue/PR has an incomplete description. Please fill in the proposed template correctly needs_triage plugins plugin (any type) labels Sep 20, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 21s
✔️ build-ansible-collection SUCCESS in 4m 55s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 06s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 12s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 39s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 58s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 6m 21s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 7m 50s
✔️ ansible-test-splitter SUCCESS in 2m 39s
✔️ integration-community.aws-1 SUCCESS in 9m 38s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED

@tremble
Copy link
Contributor

tremble commented Sep 22, 2022

+1 to the change. However the module already moved

ansible-collections/amazon.aws#1032

@tremble tremble closed this Sep 22, 2022
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
Ensure ec2_instance tests filter correctly

SUMMARY
Multiple instances test picks up instances from other tests when run concurrently. Use tag filters to prevent this.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
tests/integration/targets/ec2_instance_instance_multiple/tasks/main.yml
ADDITIONAL INFORMATION
in the example here: https://39d585ceb0884fd58f3d-34626b4834f21056500b5be2783f089d.ssl.cf5.rackcdn.com/1500/eb91ab4ac10d4af904d629a7296502aff59d9d06/check/integration-amazon.aws-1/86d0d4c/job-output.txt
the Create multiple instance (check_mode) task erroneously picks up instances from the ec2_instance_instance_minimal test target.

Reviewed-by: Alina Buzachis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module module needs_info This issue requires further information. Please answer any outstanding questions needs_template This issue/PR has an incomplete description. Please fill in the proposed template correctly needs_triage plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants