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

update to azurerm provider 3.0.2 #1

Merged
merged 4 commits into from
Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data "azurerm_storage_account_sas" "sas" {
connection_string = data.azurerm_storage_account.sa.primary_connection_string
expiry = local.expiration
start = local.start
signed_version = var.signed_version
permissions {
add = var.write
create = var.write
Expand All @@ -26,6 +27,8 @@ data "azurerm_storage_account_sas" "sas" {
read = true
update = var.write
write = var.write
tag = var.write
filter = true
}
resource_types {
container = true
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,10 @@ variable "storage_container_name" {
description = "Name of the storage container. Leave this empty to create a SAS token for the complete storage account."
type = string
default = null
}

variable "signed_version" {
description = " (Optional) Specifies the signed storage service version to use to authorize requests made with this account SAS. Defaults to 2017-07-29."
type = string
default = "2017-07-29"
}