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_vpc_endpoint - fixup deletion 'changed' #362

Merged
merged 2 commits into from
Feb 12, 2021

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Jan 20, 2021

SUMMARY

Currently changed is always False when deleting an endpoint and deleting an already deleted endpoint results in an exception/
Minimal tests for creation/deletion included. RTBs are created but not yet used in tests because I started writing tests and hitting bugs. I want to make sure the changes can be followed and easily reviewed.

More tests to follow

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ec2_vpc_endpoint
ec2_vpc_endpoint_info

ADDITIONAL INFORMATION

ec2_vpc_endpoint currently uses boto's check mode to test for check_mode, this only tests permissions not changes.

Return not changed when state=absent and endpoint has already been deleted
@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug community_review integration tests/integration module module needs_triage plugins plugin (any type) tests tests needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Jan 20, 2021
@ansibullbot ansibullbot added community_review and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jan 20, 2021
@jillr jillr merged commit a89ec90 into ansible-collections:main Feb 12, 2021
ethemcemozkan pushed a commit to ethemcemozkan/community.aws that referenced this pull request Feb 18, 2021
* Ensure ec2_vpc_endpoint returns True when deleting an Endpoint
Return not changed when state=absent and endpoint has already been deleted

* Add minimal endpoint tests
@tremble tremble deleted the vpc_endpoint/deletion branch June 29, 2021 12:54
alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this pull request Jul 16, 2021
…tions#362)

* Ensure ec2_vpc_endpoint returns True when deleting an Endpoint
Return not changed when state=absent and endpoint has already been deleted

* Add minimal endpoint tests

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@a89ec90
alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this pull request Jul 19, 2021
* Ensure ec2_vpc_endpoint returns True when deleting an Endpoint
Return not changed when state=absent and endpoint has already been deleted

* Add minimal endpoint tests
alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this pull request Jul 19, 2021
* Ensure ec2_vpc_endpoint returns True when deleting an Endpoint
Return not changed when state=absent and endpoint has already been deleted

* Add minimal endpoint tests
danielcotton pushed a commit to danielcotton/community.aws that referenced this pull request Nov 23, 2021
* Ensure ec2_vpc_endpoint returns True when deleting an Endpoint
Return not changed when state=absent and endpoint has already been deleted

* Add minimal endpoint tests
alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this pull request May 25, 2022
…s#362)

Migrates scenario guide from ansible/ansible repo

SUMMARY
Related to ansible-community/antsibull#255.
Do we need to rename the page index.rst? Or add an index.rst file?
Also needs a PR against ansible/ansible removing this content from there.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
docs.ansible.com
Depends-On: ansible/ansible-zuul-jobs#962

Reviewed-by: Mark Chappell <None>
Reviewed-by: Alicia Cozine <None>
Reviewed-by: Jill R <None>
alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this pull request May 25, 2022
* Ensure ec2_vpc_endpoint returns True when deleting an Endpoint
Return not changed when state=absent and endpoint has already been deleted

* Add minimal endpoint tests

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@a89ec90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug community_review integration tests/integration module module needs_triage plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants