gchappell99@gchappell99-mac ~/test » terraform plan -var=resource_group_name=gchappell-idempotent -var=unique_id=iuyqga 1 ↵
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
module.core.module.storage.data.azurerm_resource_group.resource_group: Refreshing state...
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
<= read (data resources)
Terraform will perform the following actions:
# module.redis.data.azurerm_resource_group.resource_group will be read during apply
# (config refers to values not yet known)
<= data "azurerm_resource_group" "resource_group" {
+ id = (known after apply)
+ location = (known after apply)
+ name = "gchappell-idempotent"
+ tags = (known after apply)
+ timeouts {
+ read = (known after apply)
}
}
# module.redis.data.azurerm_storage_account.storage_account_name will be read during apply
# (config refers to values not yet known)
<= data "azurerm_storage_account" "storage_account_name" {
+ access_tier = (known after apply)
+ account_kind = (known after apply)
+ account_replication_type = (known after apply)
+ account_tier = (known after apply)
+ allow_blob_public_access = (known after apply)
+ custom_domain = (known after apply)
+ enable_https_traffic_only = (known after apply)
+ id = (known after apply)
+ is_hns_enabled = (known after apply)
+ location = (known after apply)
+ name = "strgiuyqga"
+ primary_access_key = (sensitive value)
+ primary_blob_connection_string = (sensitive value)
+ primary_blob_endpoint = (known after apply)
+ primary_blob_host = (known after apply)
+ primary_connection_string = (sensitive value)
+ primary_dfs_endpoint = (known after apply)
+ primary_dfs_host = (known after apply)
+ primary_file_endpoint = (known after apply)
+ primary_file_host = (known after apply)
+ primary_location = (known after apply)
+ primary_queue_endpoint = (known after apply)
+ primary_queue_host = (known after apply)
+ primary_table_endpoint = (known after apply)
+ primary_table_host = (known after apply)
+ primary_web_endpoint = (known after apply)
+ primary_web_host = (known after apply)
+ resource_group_name = "gchappell-idempotent"
+ secondary_access_key = (sensitive value)
+ secondary_blob_connection_string = (sensitive value)
+ secondary_blob_endpoint = (known after apply)
+ secondary_blob_host = (known after apply)
+ secondary_connection_string = (sensitive value)
+ secondary_dfs_endpoint = (known after apply)
+ secondary_dfs_host = (known after apply)
+ secondary_file_endpoint = (known after apply)
+ secondary_file_host = (known after apply)
+ secondary_location = (known after apply)
+ secondary_queue_endpoint = (known after apply)
+ secondary_queue_host = (known after apply)
+ secondary_table_endpoint = (known after apply)
+ secondary_table_host = (known after apply)
+ secondary_web_endpoint = (known after apply)
+ secondary_web_host = (known after apply)
+ tags = (known after apply)
+ timeouts {
+ read = (known after apply)
}
}
# module.redis.azurerm_redis_cache.redis will be created
+ resource "azurerm_redis_cache" "redis" {
+ capacity = 1
+ enable_non_ssl_port = true
+ family = "P"
+ hostname = (known after apply)
+ id = (known after apply)
+ location = (known after apply)
+ minimum_tls_version = "1.2"
+ name = "redisiuyqga"
+ port = (known after apply)
+ primary_access_key = (sensitive value)
+ primary_connection_string = (sensitive value)
+ private_static_ip_address = (known after apply)
+ resource_group_name = "gchappell-idempotent"
+ secondary_access_key = (sensitive value)
+ secondary_connection_string = (sensitive value)
+ sku_name = "Premium"
+ ssl_port = (known after apply)
+ tags = {
+ "Author" = "gchappell99"
}
+ redis_configuration {
+ aof_backup_enabled = false
+ enable_authentication = true
+ maxclients = (known after apply)
+ maxfragmentationmemory_reserved = (known after apply)
+ maxmemory_delta = (known after apply)
+ maxmemory_policy = "volatile-lru"
+ maxmemory_reserved = (known after apply)
+ rdb_backup_enabled = true
+ rdb_backup_frequency = 15
+ rdb_storage_connection_string = (sensitive value)
}
}
# module.core.module.storage.azurerm_storage_account.storage will be created
+ resource "azurerm_storage_account" "storage" {
+ access_tier = (known after apply)
+ account_kind = "StorageV2"
+ account_replication_type = "ZRS"
+ account_tier = "Standard"
+ allow_blob_public_access = false
+ enable_https_traffic_only = true
+ id = (known after apply)
+ is_hns_enabled = false
+ location = "westeurope"
+ min_tls_version = "TLS1_0"
+ name = "strgiuyqga"
+ primary_access_key = (sensitive value)
+ primary_blob_connection_string = (sensitive value)
+ primary_blob_endpoint = (known after apply)
+ primary_blob_host = (known after apply)
+ primary_connection_string = (sensitive value)
+ primary_dfs_endpoint = (known after apply)
+ primary_dfs_host = (known after apply)
+ primary_file_endpoint = (known after apply)
+ primary_file_host = (known after apply)
+ primary_location = (known after apply)
+ primary_queue_endpoint = (known after apply)
+ primary_queue_host = (known after apply)
+ primary_table_endpoint = (known after apply)
+ primary_table_host = (known after apply)
+ primary_web_endpoint = (known after apply)
+ primary_web_host = (known after apply)
+ resource_group_name = "gchappell-idempotent"
+ secondary_access_key = (sensitive value)
+ secondary_blob_connection_string = (sensitive value)
+ secondary_blob_endpoint = (known after apply)
+ secondary_blob_host = (known after apply)
+ secondary_connection_string = (sensitive value)
+ secondary_dfs_endpoint = (known after apply)
+ secondary_dfs_host = (known after apply)
+ secondary_file_endpoint = (known after apply)
+ secondary_file_host = (known after apply)
+ secondary_location = (known after apply)
+ secondary_queue_endpoint = (known after apply)
+ secondary_queue_host = (known after apply)
+ secondary_table_endpoint = (known after apply)
+ secondary_table_host = (known after apply)
+ secondary_web_endpoint = (known after apply)
+ secondary_web_host = (known after apply)
+ tags = {
+ "Author" = "gchappell99"
}
+ blob_properties {
+ cors_rule {
+ allowed_headers = (known after apply)
+ allowed_methods = (known after apply)
+ allowed_origins = (known after apply)
+ exposed_headers = (known after apply)
+ max_age_in_seconds = (known after apply)
}
+ delete_retention_policy {
+ days = (known after apply)
}
}
+ identity {
+ principal_id = (known after apply)
+ tenant_id = (known after apply)
+ type = "SystemAssigned"
}
+ network_rules {
+ bypass = (known after apply)
+ default_action = (known after apply)
+ ip_rules = (known after apply)
+ virtual_network_subnet_ids = (known after apply)
}
+ queue_properties {
+ hour_metrics {
+ enabled = true
+ include_apis = true
+ retention_policy_days = 7
+ version = "1.0"
}
+ logging {
+ delete = false
+ read = false
+ retention_policy_days = 1
+ version = "1.0"
+ write = false
}
+ minute_metrics {
+ enabled = false
+ include_apis = false
+ retention_policy_days = 1
+ version = "1.0"
}
}
}
# module.core.module.storage.azurerm_storage_container.storage["test"] will be created
+ resource "azurerm_storage_container" "storage" {
+ container_access_type = "private"
+ has_immutability_policy = (known after apply)
+ has_legal_hold = (known after apply)
+ id = (known after apply)
+ metadata = (known after apply)
+ name = "test"
+ resource_manager_id = (known after apply)
+ storage_account_name = "strgiuyqga"
}
Plan: 3 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.