-
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 Resource : azurerm_storage_mover_agent
#21273
New Resource : azurerm_storage_mover_agent
#21273
Conversation
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.
hi @sinbai
Thanks for this PR - I've taken a look through and left some comments inline, if we can fix those up then we should be able to take another look here.
Thanks!
StorageMoverId: storagemovers.NewStorageMoverID(id.SubscriptionId, id.ResourceGroupName, id.StorageMoverName).ID(), | ||
} | ||
|
||
properties := &model.Properties |
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.
.. why are we de-referencing this value?
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.
Code has been updated.
provider "azurerm" { | ||
features {} | ||
} |
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.
the provider
block should be in each test, not the template - to allow for overriding it
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.
Code has been updated.
internal/services/storagemover/storage_mover_agent_resource_test.go
Outdated
Show resolved
Hide resolved
99a3499
to
e77aef1
Compare
183cfc6
to
c2b33df
Compare
c2b33df
to
bda7d85
Compare
Thanks for all your detailed feedback. I have fixed/replied. Could you please take another look? |
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.
Thanks for making those updates @sinbai. I have two suggestions and this needs to be rebased but otherwise this looks like it's good to go!
….com:sinbai/terraform-provider-azurerm into storagemover/new_resource_storagemover_agent
414b5f4
to
c039e94
Compare
@stephybun Thanks for your feedback. The code has been updated. Could you please take another look? |
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.
Good stuff, thanks @sinbai! LGTM 🐲
This functionality has been released in v3.53.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. |
Swagger Link: https://github.com/Azure/azure-rest-api-specs/blob/2c9032ddf4afee483d424d714a03cd1b74dba8ac/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-03-01/storagemover.json#L674
Test Results: