Changed per review

This commit is contained in:
Tom Archer 2024-06-10 10:41:46 -07:00
parent 4c73d9da3b
commit ffa4aa614b
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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."
}