From 78e6fc43b81f8fc012eff3aa52d90bddb4ad4be9 Mon Sep 17 00:00:00 2001 From: Ankit Kaushik Date: Thu, 21 Mar 2024 13:01:51 +0530 Subject: [PATCH] action changes --- .github/workflows/github-ci.yml | 5 - .gitignore | 1 + examples/modified/terraform.tfstate | 16 - examples/modified/terraform.tfstate.backup | 1027 -------------------- 4 files changed, 1 insertion(+), 1048 deletions(-) delete mode 100644 .github/workflows/github-ci.yml delete mode 100644 examples/modified/terraform.tfstate delete mode 100644 examples/modified/terraform.tfstate.backup diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml deleted file mode 100644 index cb5f7d0..0000000 --- a/.github/workflows/github-ci.yml +++ /dev/null @@ -1,5 +0,0 @@ -name: CI -on: [push, pull_request] -jobs: - ci: - uses: claranet/terraform-modules-ci/.github/workflows/ci-modules.yaml@main diff --git a/.gitignore b/.gitignore index daa51bd..24c45fd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ redis.tf terraform.tfvars !examples/**/main.tf !examples/**/terraform.tfvars +*tfstate* \ No newline at end of file diff --git a/examples/modified/terraform.tfstate b/examples/modified/terraform.tfstate deleted file mode 100644 index bc0298a..0000000 --- a/examples/modified/terraform.tfstate +++ /dev/null @@ -1,16 +0,0 @@ -{ - "version": 4, - "terraform_version": "1.7.4", - "serial": 100, - "lineage": "fc1cb049-673a-cb63-8202-ca8bcc99ae97", - "outputs": {}, - "resources": [], - "check_results": [ - { - "object_kind": "var", - "config_addr": "module.redis.var.allowed_cidrs", - "status": "unknown", - "objects": null - } - ] -} diff --git a/examples/modified/terraform.tfstate.backup b/examples/modified/terraform.tfstate.backup deleted file mode 100644 index c751025..0000000 --- a/examples/modified/terraform.tfstate.backup +++ /dev/null @@ -1,1027 +0,0 @@ -{ - "version": 4, - "terraform_version": "1.7.4", - "serial": 83, - "lineage": "fc1cb049-673a-cb63-8202-ca8bcc99ae97", - "outputs": {}, - "resources": [ - { - "mode": "managed", - "type": "azurerm_resource_group", - "name": "rg", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg", - "location": "northeurope", - "managed_by": "", - "name": "nonprodcloudscapperrg", - "tags": { - "CreatedBy": "ankit1@tothenew.com" - }, - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo1NDAwMDAwMDAwMDAwLCJkZWxldGUiOjU0MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjo1NDAwMDAwMDAwMDAwfX0=" - } - ] - }, - { - "module": "module.log_analytics", - "mode": "managed", - "type": "azurerm_log_analytics_workspace", - "name": "log_analytics_wname", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "schema_version": 3, - "attributes": { - "allow_resource_only_permissions": true, - "cmk_for_query_forced": false, - "daily_quota_gb": -1, - "data_collection_rule_id": "", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log", - "identity": [], - "immediate_data_purge_on_30_days_enabled": false, - "internet_ingestion_enabled": true, - "internet_query_enabled": true, - "local_authentication_disabled": true, - "location": "northeurope", - "name": "nonprodcloudscapper-log", - "primary_shared_key": "yePKU6ZJcBRzjSm3s8/WeUzVcMFQN1qVdwodCQNdBik3sFwMTgyLKhqt2F15WnUg8H/uX10txheRWjIyx9QWzA==", - "reservation_capacity_in_gb_per_day": null, - "resource_group_name": "nonprodcloudscapperrg", - "retention_in_days": 90, - "secondary_shared_key": "F02On0OZscqY+S1SS7Jw3uyFv5guXrmgN2O/OnMcORn+A+2OW57D9P16BAs5rN50wyd3lz8CX8hRcAoy3OnyIg==", - "sku": "PerGB2018", - "tags": { - "CreatedBy": "Terraform", - "Name": "default", - "Scope": "ACI" - }, - "timeouts": null, - "workspace_id": "91f6dc1e-95bd-4563-9962-c4019abf61b0" - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIzIn0=", - "dependencies": [ - "azurerm_resource_group.rg" - ] - } - ] - }, - { - "module": "module.log_analytics", - "mode": "managed", - "type": "azurerm_monitor_diagnostic_setting", - "name": "diagnostic_settings", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "enabled_log": [ - { - "category": "Audit", - "category_group": "", - "retention_policy": [] - } - ], - "eventhub_authorization_rule_id": "", - "eventhub_name": "", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log|diagnostic-setting-name", - "log": [ - { - "category": "Audit", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "SummaryLogs", - "category_group": "", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "log_analytics_destination_type": "", - "log_analytics_workspace_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log", - "metric": [ - { - "category": "AllMetrics", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "name": "diagnostic-setting-name", - "partner_solution_id": null, - "storage_account_id": null, - "target_resource_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log", - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfX0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.log_analytics.azurerm_log_analytics_workspace.log_analytics_wname" - ] - } - ] - }, - { - "module": "module.redis", - "mode": "data", - "type": "azurecaf_name", - "name": "data_storage", - "provider": "provider[\"registry.terraform.io/aztfmod/azurecaf\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clean_input": true, - "id": "sttstingcloudscapper", - "name": "tsting", - "passthrough": false, - "prefixes": [ - "redis" - ], - "random_length": 0, - "random_seed": null, - "resource_type": "azurerm_storage_account", - "result": "sttstingcloudscapper", - "separator": "-", - "suffixes": [ - "cloudscapper", - "northeurope", - "nonprod" - ], - "use_slug": true - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.redis", - "mode": "data", - "type": "azurecaf_name", - "name": "redis", - "provider": "provider[\"registry.terraform.io/aztfmod/azurecaf\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clean_input": true, - "id": "redis-tsting-cloudscapper-northeurope-nonprod", - "name": "tsting", - "passthrough": false, - "prefixes": null, - "random_length": 0, - "random_seed": null, - "resource_type": "azurerm_redis_cache", - "result": "redis-tsting-cloudscapper-northeurope-nonprod", - "separator": "-", - "suffixes": [ - "cloudscapper", - "northeurope", - "nonprod" - ], - "use_slug": true - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.redis", - "mode": "data", - "type": "azurecaf_name", - "name": "redis_fw_rule", - "provider": "provider[\"registry.terraform.io/aztfmod/azurecaf\"]", - "instances": [ - { - "index_key": "0", - "schema_version": 0, - "attributes": { - "clean_input": true, - "id": "redisfwtstingcloudscappernortheuropenonprod0", - "name": "tsting", - "passthrough": false, - "prefixes": null, - "random_length": 0, - "random_seed": null, - "resource_type": "azurerm_redis_firewall_rule", - "result": "redisfwtstingcloudscappernortheuropenonprod0", - "separator": "-", - "suffixes": [ - "cloudscapper", - "northeurope", - "nonprod", - "0" - ], - "use_slug": true - }, - "sensitive_attributes": [] - }, - { - "index_key": "1", - "schema_version": 0, - "attributes": { - "clean_input": true, - "id": "redisfwtstingcloudscappernortheuropenonprod1", - "name": "tsting", - "passthrough": false, - "prefixes": null, - "random_length": 0, - "random_seed": null, - "resource_type": "azurerm_redis_firewall_rule", - "result": "redisfwtstingcloudscappernortheuropenonprod1", - "separator": "-", - "suffixes": [ - "cloudscapper", - "northeurope", - "nonprod", - "1" - ], - "use_slug": true - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.redis", - "mode": "managed", - "type": "azurerm_redis_cache", - "name": "redis", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "capacity": 2, - "enable_non_ssl_port": false, - "family": "C", - "hostname": "redis-tsting-cloudscapper-northeurope-nonprod.redis.cache.windows.net", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Cache/redis/redis-tsting-cloudscapper-northeurope-nonprod", - "identity": [], - "location": "northeurope", - "minimum_tls_version": "1.2", - "name": "redis-tsting-cloudscapper-northeurope-nonprod", - "patch_schedule": [], - "port": 6379, - "primary_access_key": "bTJOz4gP4uAZsdIqor7rsiYUdWinX1dA0AzCaIUQ6LA=", - "primary_connection_string": "redis-tsting-cloudscapper-northeurope-nonprod.redis.cache.windows.net:6380,password=bTJOz4gP4uAZsdIqor7rsiYUdWinX1dA0AzCaIUQ6LA=,ssl=true,abortConnect=False", - "private_static_ip_address": "", - "public_network_access_enabled": false, - "redis_configuration": [ - { - "active_directory_authentication_enabled": false, - "aof_backup_enabled": false, - "aof_storage_connection_string_0": "", - "aof_storage_connection_string_1": "", - "data_persistence_authentication_method": "SAS", - "enable_authentication": true, - "maxclients": 2000, - "maxfragmentationmemory_reserved": 299, - "maxmemory_delta": 299, - "maxmemory_policy": "volatile-lru", - "maxmemory_reserved": 299, - "notify_keyspace_events": "", - "rdb_backup_enabled": false, - "rdb_backup_frequency": 0, - "rdb_backup_max_snapshot_count": 0, - "rdb_storage_connection_string": "", - "storage_account_subscription_id": "" - } - ], - "redis_version": "6.0", - "replicas_per_master": 0, - "replicas_per_primary": 0, - "resource_group_name": "nonprodcloudscapperrg", - "secondary_access_key": "a1tmy0bFgmBd8pSmB4DXWlLyRAkiHBW34AzCaDihYbw=", - "secondary_connection_string": "redis-tsting-cloudscapper-northeurope-nonprod.redis.cache.windows.net:6380,password=a1tmy0bFgmBd8pSmB4DXWlLyRAkiHBW34AzCaDihYbw=,ssl=true,abortConnect=False", - "shard_count": 0, - "sku_name": "Basic", - "ssl_port": 6380, - "subnet_id": "", - "tags": { - "CreatedBy": "ankit1@tothenew.com", - "env": "nonprod", - "stack": "tsting" - }, - "tenant_settings": null, - "timeouts": null, - "zones": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo1NDAwMDAwMDAwMDAwLCJkZWxldGUiOjU0MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjo1NDAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.redis.azurerm_storage_account.redis_storage", - "module.redis.data.azurecaf_name.data_storage", - "module.redis.data.azurecaf_name.redis" - ] - } - ] - }, - { - "module": "module.redis", - "mode": "managed", - "type": "azurerm_redis_firewall_rule", - "name": "redis_fw_rule", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "index_key": "0", - "schema_version": 1, - "attributes": { - "end_ip": "1.2.3.4", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Cache/redis/redis-tsting-cloudscapper-northeurope-nonprod/firewallRules/redisfwtstingcloudscappernortheuropenonprod0", - "name": "redisfwtstingcloudscappernortheuropenonprod0", - "redis_cache_name": "redis-tsting-cloudscapper-northeurope-nonprod", - "resource_group_name": "nonprodcloudscapperrg", - "start_ip": "1.2.3.4", - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.redis.azurerm_redis_cache.redis", - "module.redis.azurerm_storage_account.redis_storage", - "module.redis.data.azurecaf_name.data_storage", - "module.redis.data.azurecaf_name.redis", - "module.redis.data.azurecaf_name.redis_fw_rule" - ] - }, - { - "index_key": "1", - "schema_version": 1, - "attributes": { - "end_ip": "5.6.255.255", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Cache/redis/redis-tsting-cloudscapper-northeurope-nonprod/firewallRules/redisfwtstingcloudscappernortheuropenonprod1", - "name": "redisfwtstingcloudscappernortheuropenonprod1", - "redis_cache_name": "redis-tsting-cloudscapper-northeurope-nonprod", - "resource_group_name": "nonprodcloudscapperrg", - "start_ip": "5.6.0.0", - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.redis.azurerm_redis_cache.redis", - "module.redis.azurerm_storage_account.redis_storage", - "module.redis.data.azurecaf_name.data_storage", - "module.redis.data.azurecaf_name.redis", - "module.redis.data.azurecaf_name.redis_fw_rule" - ] - } - ] - }, - { - "module": "module.storage_account", - "mode": "managed", - "type": "azurerm_advanced_threat_protection", - "name": "threat_protection", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "enabled": true, - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/providers/Microsoft.Security/advancedThreatProtectionSettings/current", - "target_resource_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting", - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjE4MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.storage_account.azurerm_storage_account.sa" - ] - } - ] - }, - { - "module": "module.storage_account", - "mode": "managed", - "type": "azurerm_monitor_diagnostic_setting", - "name": "monitor", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "index_key": "blob", - "schema_version": 0, - "attributes": { - "enabled_log": [ - { - "category": "StorageDelete", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageRead", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageWrite", - "category_group": "", - "retention_policy": [] - } - ], - "eventhub_authorization_rule_id": "", - "eventhub_name": "", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/blobServices/default|audit-logs", - "log": [ - { - "category": "StorageDelete", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageRead", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageWrite", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "log_analytics_destination_type": "", - "log_analytics_workspace_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log", - "metric": [ - { - "category": "Capacity", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "Transaction", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "name": "audit-logs", - "partner_solution_id": null, - "storage_account_id": null, - "target_resource_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/blobServices/default", - "timeouts": null - }, - "sensitive_attributes": [ - [ - { - "type": "get_attr", - "value": "log_analytics_workspace_id" - } - ] - ], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfX0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.log_analytics.azurerm_log_analytics_workspace.log_analytics_wname", - "module.storage_account.azurerm_storage_account.sa" - ] - }, - { - "index_key": "file", - "schema_version": 0, - "attributes": { - "enabled_log": [ - { - "category": "StorageDelete", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageRead", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageWrite", - "category_group": "", - "retention_policy": [] - } - ], - "eventhub_authorization_rule_id": "", - "eventhub_name": "", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/fileServices/default|audit-logs", - "log": [ - { - "category": "StorageDelete", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageRead", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageWrite", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "log_analytics_destination_type": "", - "log_analytics_workspace_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log", - "metric": [ - { - "category": "Capacity", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "Transaction", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "name": "audit-logs", - "partner_solution_id": null, - "storage_account_id": null, - "target_resource_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/fileServices/default", - "timeouts": null - }, - "sensitive_attributes": [ - [ - { - "type": "get_attr", - "value": "log_analytics_workspace_id" - } - ] - ], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfX0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.log_analytics.azurerm_log_analytics_workspace.log_analytics_wname", - "module.storage_account.azurerm_storage_account.sa" - ] - }, - { - "index_key": "queue", - "schema_version": 0, - "attributes": { - "enabled_log": [ - { - "category": "StorageDelete", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageRead", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageWrite", - "category_group": "", - "retention_policy": [] - } - ], - "eventhub_authorization_rule_id": "", - "eventhub_name": "", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/queueServices/default|audit-logs", - "log": [ - { - "category": "StorageDelete", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageRead", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageWrite", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "log_analytics_destination_type": "", - "log_analytics_workspace_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log", - "metric": [ - { - "category": "Capacity", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "Transaction", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "name": "audit-logs", - "partner_solution_id": null, - "storage_account_id": null, - "target_resource_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/queueServices/default", - "timeouts": null - }, - "sensitive_attributes": [ - [ - { - "type": "get_attr", - "value": "log_analytics_workspace_id" - } - ] - ], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfX0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.log_analytics.azurerm_log_analytics_workspace.log_analytics_wname", - "module.storage_account.azurerm_storage_account.sa" - ] - }, - { - "index_key": "table", - "schema_version": 0, - "attributes": { - "enabled_log": [ - { - "category": "StorageDelete", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageRead", - "category_group": "", - "retention_policy": [] - }, - { - "category": "StorageWrite", - "category_group": "", - "retention_policy": [] - } - ], - "eventhub_authorization_rule_id": "", - "eventhub_name": "", - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/tableServices/default|audit-logs", - "log": [ - { - "category": "StorageDelete", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageRead", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "StorageWrite", - "category_group": "", - "enabled": true, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "log_analytics_destination_type": "", - "log_analytics_workspace_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.OperationalInsights/workspaces/nonprodcloudscapper-log", - "metric": [ - { - "category": "Capacity", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - }, - { - "category": "Transaction", - "enabled": false, - "retention_policy": [ - { - "days": 0, - "enabled": false - } - ] - } - ], - "name": "audit-logs", - "partner_solution_id": null, - "storage_account_id": null, - "target_resource_id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting/tableServices/default", - "timeouts": null - }, - "sensitive_attributes": [ - [ - { - "type": "get_attr", - "value": "log_analytics_workspace_id" - } - ] - ], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjoxODAwMDAwMDAwMDAwfX0=", - "dependencies": [ - "azurerm_resource_group.rg", - "module.log_analytics.azurerm_log_analytics_workspace.log_analytics_wname", - "module.storage_account.azurerm_storage_account.sa" - ] - } - ] - }, - { - "module": "module.storage_account", - "mode": "managed", - "type": "azurerm_storage_account", - "name": "sa", - "provider": "provider[\"registry.terraform.io/hashicorp/azurerm\"]", - "instances": [ - { - "schema_version": 4, - "attributes": { - "access_tier": "Hot", - "account_kind": "BlobStorage", - "account_replication_type": "RAGRS", - "account_tier": "Standard", - "allow_nested_items_to_be_public": false, - "allowed_copy_scope": "", - "azure_files_authentication": [], - "blob_properties": [ - { - "change_feed_enabled": true, - "change_feed_retention_in_days": 0, - "container_delete_retention_policy": [ - { - "days": 35 - } - ], - "cors_rule": [], - "default_service_version": "", - "delete_retention_policy": [ - { - "days": 35 - } - ], - "last_access_time_enabled": false, - "restore_policy": [], - "versioning_enabled": true - } - ], - "cross_tenant_replication_enabled": false, - "custom_domain": [], - "customer_managed_key": [], - "default_to_oauth_authentication": false, - "edge_zone": "", - "enable_https_traffic_only": true, - "id": "/subscriptions/75223151-1800-43db-a8f3-b7fe605d3385/resourceGroups/nonprodcloudscapperrg/providers/Microsoft.Storage/storageAccounts/cloudscrapertesting", - "identity": [], - "immutability_policy": [], - "infrastructure_encryption_enabled": false, - "is_hns_enabled": false, - "large_file_share_enabled": null, - "local_user_enabled": true, - "location": "northeurope", - "min_tls_version": "TLS1_2", - "name": "cloudscrapertesting", - "network_rules": [ - { - "bypass": [ - "AzureServices" - ], - "default_action": "Deny", - "ip_rules": [], - "private_link_access": [], - "virtual_network_subnet_ids": [] - } - ], - "nfsv3_enabled": false, - "primary_access_key": "f+4Q8HGXk3Y61dEN6wXQVyDJmtKtavEe/ZqbF+axblA45NfViv9fuKbZzsdHA7wfkKymwnfgVlOF+AStIAe9pA==", - "primary_blob_connection_string": "DefaultEndpointsProtocol=https;BlobEndpoint=https://cloudscrapertesting.blob.core.windows.net/;AccountName=cloudscrapertesting;AccountKey=f+4Q8HGXk3Y61dEN6wXQVyDJmtKtavEe/ZqbF+axblA45NfViv9fuKbZzsdHA7wfkKymwnfgVlOF+AStIAe9pA==", - "primary_blob_endpoint": "https://cloudscrapertesting.blob.core.windows.net/", - "primary_blob_host": "cloudscrapertesting.blob.core.windows.net", - "primary_blob_internet_endpoint": "", - "primary_blob_internet_host": "", - "primary_blob_microsoft_endpoint": "", - "primary_blob_microsoft_host": "", - "primary_connection_string": "DefaultEndpointsProtocol=https;AccountName=cloudscrapertesting;AccountKey=f+4Q8HGXk3Y61dEN6wXQVyDJmtKtavEe/ZqbF+axblA45NfViv9fuKbZzsdHA7wfkKymwnfgVlOF+AStIAe9pA==;EndpointSuffix=core.windows.net", - "primary_dfs_endpoint": "https://cloudscrapertesting.dfs.core.windows.net/", - "primary_dfs_host": "cloudscrapertesting.dfs.core.windows.net", - "primary_dfs_internet_endpoint": "", - "primary_dfs_internet_host": "", - "primary_dfs_microsoft_endpoint": "", - "primary_dfs_microsoft_host": "", - "primary_file_endpoint": "", - "primary_file_host": "", - "primary_file_internet_endpoint": "", - "primary_file_internet_host": "", - "primary_file_microsoft_endpoint": "", - "primary_file_microsoft_host": "", - "primary_location": "northeurope", - "primary_queue_endpoint": "", - "primary_queue_host": "", - "primary_queue_microsoft_endpoint": "", - "primary_queue_microsoft_host": "", - "primary_table_endpoint": "https://cloudscrapertesting.table.core.windows.net/", - "primary_table_host": "cloudscrapertesting.table.core.windows.net", - "primary_table_microsoft_endpoint": "", - "primary_table_microsoft_host": "", - "primary_web_endpoint": "", - "primary_web_host": "", - "primary_web_internet_endpoint": "", - "primary_web_internet_host": "", - "primary_web_microsoft_endpoint": "", - "primary_web_microsoft_host": "", - "public_network_access_enabled": true, - "queue_encryption_key_type": "Service", - "queue_properties": null, - "resource_group_name": "nonprodcloudscapperrg", - "routing": [], - "sas_policy": [], - "secondary_access_key": "h0lykFub0fjKa33MD5zCHMQYfdVri42cMmShOwHWAC4hnRt0EShSLCSASlHhDp8cRbheb4Z/Gqku+AStXogk8A==", - "secondary_blob_connection_string": "DefaultEndpointsProtocol=https;BlobEndpoint=https://cloudscrapertesting-secondary.blob.core.windows.net/;AccountName=cloudscrapertesting;AccountKey=h0lykFub0fjKa33MD5zCHMQYfdVri42cMmShOwHWAC4hnRt0EShSLCSASlHhDp8cRbheb4Z/Gqku+AStXogk8A==", - "secondary_blob_endpoint": "https://cloudscrapertesting-secondary.blob.core.windows.net/", - "secondary_blob_host": "cloudscrapertesting-secondary.blob.core.windows.net", - "secondary_blob_internet_endpoint": null, - "secondary_blob_internet_host": null, - "secondary_blob_microsoft_endpoint": null, - "secondary_blob_microsoft_host": null, - "secondary_connection_string": "DefaultEndpointsProtocol=https;AccountName=cloudscrapertesting;AccountKey=h0lykFub0fjKa33MD5zCHMQYfdVri42cMmShOwHWAC4hnRt0EShSLCSASlHhDp8cRbheb4Z/Gqku+AStXogk8A==;EndpointSuffix=core.windows.net", - "secondary_dfs_endpoint": "https://cloudscrapertesting-secondary.dfs.core.windows.net/", - "secondary_dfs_host": "cloudscrapertesting-secondary.dfs.core.windows.net", - "secondary_dfs_internet_endpoint": null, - "secondary_dfs_internet_host": null, - "secondary_dfs_microsoft_endpoint": null, - "secondary_dfs_microsoft_host": null, - "secondary_file_endpoint": "", - "secondary_file_host": "", - "secondary_file_internet_endpoint": null, - "secondary_file_internet_host": null, - "secondary_file_microsoft_endpoint": null, - "secondary_file_microsoft_host": null, - "secondary_location": "westeurope", - "secondary_queue_endpoint": "", - "secondary_queue_host": "", - "secondary_queue_microsoft_endpoint": null, - "secondary_queue_microsoft_host": null, - "secondary_table_endpoint": "https://cloudscrapertesting-secondary.table.core.windows.net/", - "secondary_table_host": "cloudscrapertesting-secondary.table.core.windows.net", - "secondary_table_microsoft_endpoint": null, - "secondary_table_microsoft_host": null, - "secondary_web_endpoint": "", - "secondary_web_host": "", - "secondary_web_internet_endpoint": null, - "secondary_web_internet_host": null, - "secondary_web_microsoft_endpoint": null, - "secondary_web_microsoft_host": null, - "sftp_enabled": false, - "share_properties": null, - "shared_access_key_enabled": false, - "static_website": [], - "table_encryption_key_type": "Service", - "tags": { - "CreatedBy": "Terraform", - "Name": "default", - "Scope": "Storage-Account" - }, - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozNjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjMwMDAwMDAwMDAwMCwidXBkYXRlIjozNjAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiI0In0=", - "dependencies": [ - "azurerm_resource_group.rg" - ] - } - ] - } - ], - "check_results": [ - { - "object_kind": "var", - "config_addr": "module.redis.var.allowed_cidrs", - "status": "pass", - "objects": [ - { - "object_addr": "module.redis.var.allowed_cidrs", - "status": "pass" - } - ] - } - ] -}