-
Notifications
You must be signed in to change notification settings - Fork 64
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
Storage blob support #163
Conversation
@@ -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(), |
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.
could we make this consistant?
"azurestack_storage_blob": resourceStorageBlob(), | |
"azurestack_storage_blob": storageBlob(), |
all function names should have resource removed like this
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.
done :D
Delete: storageBlobDelete, | ||
|
||
// TODO check schema and confirm old stack provider can upgrade to this | ||
Create: resourceStorageBlobCreate, |
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.
ie
Create: resourceStorageBlobCreate, | |
Create: storageBlobCreate, |
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.
done :)
@@ -75,22 +66,28 @@ func storageBlob() *schema.Resource { | |||
"Page", | |||
}, false), | |||
}, | |||
|
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.
could we not remove these libnes?
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.
done :)
} | ||
resource "azurestack_storage_blob" "test" { |
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 terraform code should have newlines in it like this
} | |
resource "azurestack_storage_blob" "test" { | |
} | |
resource "azurestack_storage_blob" "test" { |
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.
done :)
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.
LGTM 🦀
updated
azurestack_storage_blob
resource