-
Notifications
You must be signed in to change notification settings - Fork 4.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
Update PostgreSQL to GA 2017-12-01 API #1190
Conversation
DiffSuppressFunc: ignoreCaseDiffSuppressFunc, | ||
}, | ||
|
||
"family": { |
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.
What is the relationship between this and "sku.name"? Because I found that "sku.name" also contains "Gen4" or "Gen5".
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.
All of the fields in the struct are concatenated together to form the sku.name in the form of tier_family_capacity. This is how the API's schema is defined, I thought about splitting the values out of the name, but then the individual values could not be referenced.
@jeffreyCline FYI I'm going to rebase this PR on top of master, since the Diff is showing changes which are already in master (but aren't in this branch) |
a5ac0b6
to
d83ff73
Compare
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.
hey @jeffreyCline
Thanks for pushing the updates to this PR, apologies for the delay in reviewing this whilst we've been out. I've rebased this and pushed a couple of minor updates to match the comments I raised in the MySQL PR and this now LGTM. I'll test the upgrade path shortly (and I've just kicked off the test suite) 👍
Thanks!
- Switching SKU to a List instead of a Set - Support for updating the Capacity of a Given SKU - Tests to update the SKU's for Postgresql/MySql
Re-tested the upgrade path from both MySql & Postgresql -> new version and they work as expected. It's also possible to update the Capacity as in the Portal - and there's tests for this. |
f9db21a
to
9133a90
Compare
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Upgrade the PostgreSQL resource the adopt the GA API 2017-12-01. This PR will resolve issue #1004 .