-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
providers/heroku: import heroku_addon resource #14508
Conversation
a838c8e
to
c229942
Compare
I think we will have the same problem here that the one exposed in #14497. If I try to import an addon, I get the following error:
The The solution, to me, would be to patch the code from
Produces the exact same result that the following:
|
I created the following PR |
Awesome work @cmorent! Once that PR is accepted, you can update the vendored dependency in a separate commit (same pr is fine). |
Roger that, thanks a lot ! |
The PR |
c229942
to
32ac7a4
Compare
This will be a bit more complicated than expected... The last revisions of
In fact, it seems that it most of these structures where either renamed or removed with the What do you think @grubernaut ? |
Interesting... Think we should work on the refactor of the updated vendor in a separate pr, then rebase this work ontop of it. |
43020f1
to
49ea4dd
Compare
49ea4dd
to
6266eef
Compare
My bad, closed it by mistake, I reopen it with a basic commit and while push everything as soon as #14672 will be merged! |
d1dd1bc
to
d8d6a5f
Compare
d8d6a5f
to
d0a0fd2
Compare
It works for me after the merge of #14672 and a small fix from my side on this PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
* 'master' of github.com:hashicorp/terraform: Update CHANGELOG.md providers/heroku: import heroku_addon resource (#14508)
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Adds support for importing addons with the heroku_addon resource.
Resolves #14504