Skip to content
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

Storage blob support #163

Merged
merged 5 commits into from
Mar 12, 2022
Merged

Storage blob support #163

merged 5 commits into from
Mar 12, 2022

Conversation

abner-dou
Copy link
Contributor

updated azurestack_storage_blob resource

@@ -29,7 +29,7 @@ func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource {
func (r Registration) SupportedResources() map[string]*pluginsdk.Resource {
return map[string]*pluginsdk.Resource{
"azurestack_storage_account": storageAccount(),
"azurestack_storage_blob": storageBlob(),
"azurestack_storage_blob": resourceStorageBlob(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we make this consistant?

Suggested change
"azurestack_storage_blob": resourceStorageBlob(),
"azurestack_storage_blob": storageBlob(),

all function names should have resource removed like this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :D

Delete: storageBlobDelete,

// TODO check schema and confirm old stack provider can upgrade to this
Create: resourceStorageBlobCreate,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ie

Suggested change
Create: resourceStorageBlobCreate,
Create: storageBlobCreate,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :)

@@ -75,22 +66,28 @@ func storageBlob() *schema.Resource {
"Page",
}, false),
},

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we not remove these libnes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :)

Comment on lines 663 to 664
}
resource "azurestack_storage_blob" "test" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all terraform code should have newlines in it like this

Suggested change
}
resource "azurestack_storage_blob" "test" {
}
resource "azurestack_storage_blob" "test" {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :)

@abner-dou abner-dou requested a review from katbyte March 2, 2022 18:51
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🦀

@katbyte katbyte added this to the v1.0.0 milestone Mar 12, 2022
@katbyte katbyte merged commit 1950f33 into hashicorp:main Mar 12, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants