-
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
New data sources azurerm_management_group_template_deployment
, azurerm_resource_group_template_deployment
, azurerm_subscription_template_deployment
, azurerm_tenant_template_deployment
#14524
New data sources azurerm_management_group_template_deployment
, azurerm_resource_group_template_deployment
, azurerm_subscription_template_deployment
, azurerm_tenant_template_deployment
#14524
Conversation
test failure @sdebruyn
|
sorry about that @katbyte, should be fixed now |
@katbyte @tombuildsstuff Any chance to merge this in before we get to 3.0? |
Rebased on latest main |
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 @sdebruyn
Thanks for this PR - apologies this has taken a while for us to get too.
I've taken a look through and left some comments inline, but on the whole this looks pretty good, if we can fix those up then we should be able to get this merged. From the Management Group resource whilst the API accepts both the Name and the ID - within Terraform we consistently use the ID (to avoid unintentional diff's in the responses due to escaping differences between the different API's) - so we'd need to update this to use the (UU)ID rather than the Name.
Thanks!
internal/services/resource/management_group_template_deployment_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/resource/management_group_template_deployment_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/resource/management_group_template_deployment_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/resource/tenant_template_deployment_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/resource/subscription_template_deployment_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/resource/resource_group_template_deployment_data_source.go
Outdated
Show resolved
Hide resolved
website/docs/d/management_group_template_deployment.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/d/management_group_template_deployment.html.markdown
Outdated
Show resolved
Hide resolved
Co-authored-by: Tom Harvey <[email protected]>
Co-authored-by: Tom Harvey <[email protected]>
…ta_source.go Co-authored-by: Tom Harvey <[email protected]>
…t_data_source.go Co-authored-by: Tom Harvey <[email protected]>
…rce.go Co-authored-by: Tom Harvey <[email protected]>
…data_source.go Co-authored-by: Tom Harvey <[email protected]>
@tombuildsstuff Thanks for the first review 🙌 It is now ready for re-review 😉 |
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 @sdebruyn
Thanks for pushing those changes - apologies for the delay on the re-review here!
Taking a look through this now LGTM 👍
Thanks!
Acceptance Tests look good 👍 |
This functionality has been released in v3.11.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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 contributions. |
Fixes #14523
Adds data sources as mentioned in the title so that you can retrieve the values of outputs of deployed templates.