Skip to content

Commit

Permalink
Merge pull request #348 from recognizegroup/feature/TD-596_add_output…
Browse files Browse the repository at this point in the history
…_with_correct_name_for_connection_string

TD-596 - Add output with correct name for primary_connection_string
  • Loading branch information
tom-reinders authored Aug 14, 2023
2 parents 3c281e9 + da54e54 commit 96cb8e4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion modules/azure/storage_account_private/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ output "primary_access_key" {
sensitive = true
}

output "primary_access_connection_string" {
output "primary_connection_string" {
value = azurerm_storage_account.storage_account.primary_connection_string
sensitive = true
}

# Deprecated in favor of primary_connection_string
# TODO: Remove deprecated output in next major version
output "primary_access_connection_string" {
description = "Deprecated in favor of primary_connection_string"
value = azurerm_storage_account.storage_account.primary_connection_string
sensitive = true
}
10 changes: 9 additions & 1 deletion modules/azure/storage_account_public/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ output "primary_access_key" {
sensitive = true
}

output "primary_access_connection_string" {
output "primary_connection_string" {
value = azurerm_storage_account.storage_account.primary_connection_string
sensitive = true
}

# Deprecated in favor of primary_connection_string
# TODO: Remove deprecated output in next major version
output "primary_access_connection_string" {
description = "Deprecated in favor of primary_connection_string"
value = azurerm_storage_account.storage_account.primary_connection_string
sensitive = true
}

0 comments on commit 96cb8e4

Please sign in to comment.