Changed per review
This commit is contained in:
parent
4c73d9da3b
commit
ffa4aa614b
@ -70,8 +70,10 @@ data "azurerm_storage_account_sas" "example" {
|
||||
file = false
|
||||
}
|
||||
|
||||
start = "2024-01-01"
|
||||
expiry = "2024-12-31"
|
||||
# Please change the start_date variable (in variables.tf) to the appropriate
|
||||
# value for your environment.
|
||||
start = formatdate(var.start_date, timestamp())
|
||||
expiry = formatdate(var.start_date, timeadd(timestamp(), "8765h"))
|
||||
|
||||
permissions {
|
||||
read = false
|
||||
|
@ -8,4 +8,11 @@ variable "resource_group_location" {
|
||||
type = string
|
||||
default = "eastus"
|
||||
description = "Location of the resource group."
|
||||
}
|
||||
|
||||
|
||||
variable "start_date" {
|
||||
type = string
|
||||
default = "2024-06-01"
|
||||
description = "Start date."
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user