-
Notifications
You must be signed in to change notification settings - Fork 397
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
jillr
merged 2 commits into
ansible-collections:main
from
tremble:vpc_endpoint/deletion
Feb 12, 2021
Merged
ec2_vpc_endpoint - fixup deletion 'changed' #362
jillr
merged 2 commits into
ansible-collections:main
from
tremble:vpc_endpoint/deletion
Feb 12, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Return not changed when state=absent and endpoint has already been deleted
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
tremble
force-pushed
the
vpc_endpoint/deletion
branch
from
January 20, 2021 09:55
933f332
to
be83c74
Compare
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
approved these changes
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
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-build#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
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.
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
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.