-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 source: azurerm_storage_account_blob_container_sas #4195
New data source: azurerm_storage_account_blob_container_sas #4195
Conversation
# Conflicts: # azurerm/provider.go # go.mod
# Conflicts: # go.mod # vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/client.go # vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/version.go
# Conflicts: # go.sum # vendor/github.com/Azure/go-autorest/autorest/adal/token.go # vendor/github.com/Azure/go-autorest/autorest/go.mod # vendor/github.com/Azure/go-autorest/autorest/go.sum # vendor/github.com/Azure/go-autorest/autorest/sender.go # vendor/github.com/Azure/go-autorest/autorest/version.go # vendor/github.com/hashicorp/go-azure-helpers/authentication/auth_method.go # vendor/github.com/hashicorp/go-azure-helpers/authentication/auth_method_azure_cli_token.go # vendor/github.com/hashicorp/go-azure-helpers/authentication/auth_method_client_cert.go # vendor/github.com/hashicorp/go-azure-helpers/authentication/auth_method_client_secret.go # vendor/github.com/hashicorp/go-azure-helpers/authentication/auth_method_client_secret_multi_tenant.go # vendor/github.com/hashicorp/go-azure-helpers/authentication/auth_method_msi.go # vendor/github.com/hashicorp/go-azure-helpers/authentication/config.go # vendor/modules.txt
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 @r0bnet
Thanks for this PR - taking a look through besides removing the ForceNew's (since this is a Data Source, they're not needed) and adding some validation this otherwise LGTM 👍
Thanks!
"container_name": { | ||
Type: schema.TypeString, | ||
Required: true, | ||
ForceNew: true, |
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.
can we remove ForceNew/add:
ForceNew: true, | |
ValidateFunc: validate.NoEmptyStrings, |
Type: schema.TypeString, | ||
Required: true, | ||
ForceNew: true, | ||
Sensitive: true, |
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.
can we add:
Sensitive: true, | |
Sensitive: true, | |
ValidateFunc: validate.NoEmptyStrings, |
"connection_string": { | ||
Type: schema.TypeString, | ||
Required: true, | ||
ForceNew: true, |
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.
since this is a Data Source we don't need the ForceNew here (since this'll be recomputed every time)
ForceNew: true, |
Type: schema.TypeBool, | ||
Optional: true, | ||
Default: true, | ||
ForceNew: true, |
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.
since this is a Data Source we don't need the ForceNew here (since this'll be recomputed every time)
ForceNew: true, |
"ip": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
ForceNew: true, |
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.
since this is a Data Source we don't need the ForceNew here (since this'll be recomputed every time)
ForceNew: true, |
"read": { | ||
Type: schema.TypeBool, | ||
Required: true, | ||
ForceNew: true, |
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.
since this is a Data Source we don't need the ForceNew here (since this'll be recomputed every time)
ForceNew: true, |
"content_disposition": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
ForceNew: true, |
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.
since this is a Data Source we don't need the ForceNew here (since this'll be recomputed every time)
ForceNew: true, |
"content_encoding": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
ForceNew: true, |
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.
since this is a Data Source we don't need the ForceNew here (since this'll be recomputed every time)
ForceNew: true, |
"content_language": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
ForceNew: true, |
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.
since this is a Data Source we don't need the ForceNew here (since this'll be recomputed every time)
ForceNew: true, |
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 @r0bnet
Thanks for pushing those changes - besides the one rename this otherwise LGTM 👍
Default: true, | ||
}, | ||
|
||
"ip": { |
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.
🤔 on reflection could we make this ip_address
to match the other resources?
Thanks for this great MR, fine grand SAS is really important for me. @tombuildsstuff |
Hey @ibayer Here you can see the status / progress for next releases: https://github.com/terraform-providers/terraform-provider-azurerm/milestones |
This has been released in version 1.34.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 = "~> 1.34.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! |
Implements what's requested here: #3068
Fixes #3068