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