1@Macbooks-MacBook-Pro subscriptions (master) $ terraform plan 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. data.azurerm_client_config.current: Refreshing state... data.azurerm_client_config.current: Refreshing state... data.azurerm_client_config.current: Refreshing state... data.azurerm_client_config.current: Refreshing state... data.azurerm_client_config.current: Refreshing state... data.azurerm_client_config.current: Refreshing state... ------------------------------------------------------------------------ An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: + module.application-dev.azurerm_resource_group.sql-shared-rg id: location: "uksouth" name: "sql-shared-dev" tags.%: + module.application-dev.azurerm_sql_database.sql-database id: collation: "SQL_Latin1_General_CP1_CI_AS" create_mode: "Default" creation_date: default_secondary_location: edition: "Basic" elastic_pool_name: encryption: location: "uksouth" max_size_bytes: name: "application-dev" read_scale: "false" requested_service_objective_id: requested_service_objective_name: "Basic" resource_group_name: "sql-shared-dev" restore_point_in_time: server_name: "sql-shared-dev" source_database_deletion_date: source_database_id: tags.%: threat_detection_policy.#: + module.application-prd.azurerm_resource_group.sql-shared-rg id: location: "uksouth" name: "sql-shared-prd" tags.%: + module.application-prd.azurerm_sql_database.sql-database id: collation: "SQL_Latin1_General_CP1_CI_AS" create_mode: "Default" creation_date: default_secondary_location: edition: "Basic" elastic_pool_name: encryption: location: "uksouth" max_size_bytes: name: "application-prd" read_scale: "false" requested_service_objective_id: requested_service_objective_name: "Basic" resource_group_name: "sql-shared-prd" restore_point_in_time: server_name: "sql-shared-prd" source_database_deletion_date: source_database_id: tags.%: threat_detection_policy.#: + module.application-uat.azurerm_resource_group.sql-shared-rg id: location: "uksouth" name: "sql-shared-dev" tags.%: + module.application-uat.azurerm_sql_database.sql-database id: collation: "SQL_Latin1_General_CP1_CI_AS" create_mode: "Default" creation_date: default_secondary_location: edition: "Basic" elastic_pool_name: encryption: location: "uksouth" max_size_bytes: name: "application-dev" read_scale: "false" requested_service_objective_id: requested_service_objective_name: "Basic" resource_group_name: "sql-shared-dev" restore_point_in_time: server_name: "sql-shared-dev" source_database_deletion_date: source_database_id: tags.%: threat_detection_policy.#: + module.application-dev.module.shared-dev.azurerm_resource_group.sql-shared-rg id: location: "uksouth" name: "sql-shared-dev" tags.%: + module.application-dev.module.shared-dev.azurerm_sql_server.sql-server id: administrator_login: "${random_string.username.result}" administrator_login_password: fully_qualified_domain_name: location: "uksouth" name: "sql-shared-dev" resource_group_name: "sql-shared-dev" tags.%: "1" tags.environment: "dev" version: "12.0" + module.application-dev.module.shared-dev.random_string.password id: length: "24" lower: "true" min_lower: "0" min_numeric: "0" min_special: "0" min_upper: "0" number: "true" result: special: "true" upper: "true" + module.application-dev.module.shared-dev.random_string.username id: length: "8" lower: "true" min_lower: "0" min_numeric: "0" min_special: "0" min_upper: "0" number: "true" result: special: "false" upper: "true" + module.application-prd.module.shared-dev.azurerm_resource_group.sql-shared-rg id: location: "uksouth" name: "sql-shared-prd" tags.%: + module.application-prd.module.shared-dev.azurerm_sql_server.sql-server id: administrator_login: "${random_string.username.result}" administrator_login_password: fully_qualified_domain_name: location: "uksouth" name: "sql-shared-prd" resource_group_name: "sql-shared-prd" tags.%: "1" tags.environment: "dev" version: "12.0" + module.application-prd.module.shared-dev.random_string.password id: length: "24" lower: "true" min_lower: "0" min_numeric: "0" min_special: "0" min_upper: "0" number: "true" result: special: "true" upper: "true" + module.application-prd.module.shared-dev.random_string.username id: length: "8" lower: "true" min_lower: "0" min_numeric: "0" min_special: "0" min_upper: "0" number: "true" result: special: "false" upper: "true" + module.application-uat.module.shared-dev.azurerm_resource_group.sql-shared-rg id: location: "uksouth" name: "sql-shared-dev" tags.%: + module.application-uat.module.shared-dev.azurerm_sql_server.sql-server id: administrator_login: "${random_string.username.result}" administrator_login_password: fully_qualified_domain_name: location: "uksouth" name: "sql-shared-dev" resource_group_name: "sql-shared-dev" tags.%: "1" tags.environment: "dev" version: "12.0" + module.application-uat.module.shared-dev.random_string.password id: length: "24" lower: "true" min_lower: "0" min_numeric: "0" min_special: "0" min_upper: "0" number: "true" result: special: "true" upper: "true" + module.application-uat.module.shared-dev.random_string.username id: length: "8" lower: "true" min_lower: "0" min_numeric: "0" min_special: "0" min_upper: "0" number: "true" result: special: "false" upper: "true" Plan: 18 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. 1@Macbooks-MacBook-Pro subscriptions (master) $