-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Eliminate repetition when specifying SKU sizing #1500
Comments
Regarding the choice of:
vs.
It would of course be more flexible to allow both forms, but if I were to choose one I would prefer the first as it lets logic decisions be easily made on each component. |
The resources essentially wrap the Azure/azure-rest-api-specs repo. I don't know if deviating from the swagger specs is the best idea. Defaults might be a happy medium here, but not ideal. |
@lfshr we deviate from the Go SDK repository where it makes sense to provide a better UX - I'd agree this'd be a good example of where we should deviate. Thinking about this, I think the best path here would be to make the
This means we should be able to make this block:
I can't give a timeframe for getting to this at the moment, but this is something I think we should do 👍 |
I am proposing to flatten the below 17 resources: NOTE: Checks mark the resources that are currently complete
The
NOTE: For backwards compatibility I will leave the existing |
I have opened some more PRs to address the outstanding resources. of the remaining ones i think |
I'm going to close this as only app service and mssql elastic pool remain and they are a bit more complicated and require more thought. |
This has been released in version 2.0.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.0.0"
}
# ... other configuration ... |
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! |
Community Note
Description
When specifying the sku for postgres and redis (and probably some other resources) you need to repeat yourself when specifying SKUs, example:
There is unnecessary repetition here - e.g. we can eliminate
name
from the pg resource andfamily
from redis since they can be 100% inferred from the other valuesNew or Affected Resource(s)
Potential Terraform Configuration
References
ø
The text was updated successfully, but these errors were encountered: