-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[#9209] Fix dx gateway association proposal so it works even if expired #12221
Conversation
fb656e1
to
c13b25c
Compare
@blckct Thanks for this. |
@ewbankkit Hey, I didn't run existing tests as I had a bit of a trouble setting up an alternative account that's needed for it. Do you mind running those for me? |
@Omarimcblack this has been picked up by @ewbankkit in #12482 so I'm not sure this code will be used. Have you checked if his code is working for you? |
@blckct unfortunately for my use-case handling from the understandable handling the resource this way, if you ever manually delete a proposal or its expired for a reason other than you accepting, you will need to run a |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Currently the proposal expires after some time which causes TF to want to recreate it and recreate everything that depends on it so it's pretty useless. This change makes the resource ignore that API doesn't return anything and keep returning the last known state. It seems to work with the expired proposals I have access to however it would be great if someone could help with testing or give some insight into what may be problems with heavy handed approach like this one.
Closes #9209
Release note for CHANGELOG:
Output from acceptance testing:
I haven't been able to run the tests, as I'm waiting for my second account. Would be nice if someone else could run them.