-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change test organization for shared tests. These tests are now organi…
…zed under the corerp directory. Note that cli tests are no longer a part of the corerp tests Signed-off-by: vinayada1 <[email protected]>
- Loading branch information
Showing
160 changed files
with
290 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions
32
...able/corerp/cloud/resources/testdata/recipes/test-terraform-recipes/azure-storage/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
terraform { | ||
required_providers { | ||
azurerm = { | ||
source = "hashicorp/azurerm" | ||
version = "~> 3.0.0" | ||
} | ||
} | ||
} | ||
|
||
resource "random_id" "unique_name" { | ||
byte_length = 8 | ||
} | ||
|
||
resource "azurerm_storage_account" "test_storage_account" { | ||
name = "acct${random_id.unique_name.hex}" | ||
resource_group_name = var.resource_group_name | ||
location = var.location | ||
account_tier = "Standard" | ||
account_replication_type = "LRS" | ||
} | ||
|
||
resource "azurerm_storage_container" "test_container" { | ||
name = "ctr${random_id.unique_name.hex}" | ||
storage_account_name = azurerm_storage_account.test_storage_account.name | ||
} | ||
|
||
resource "azurerm_storage_blob" "test_blob" { | ||
name = "blob${random_id.unique_name.hex}" | ||
storage_account_name = azurerm_storage_account.test_storage_account.name | ||
storage_container_name = azurerm_storage_container.test_container.name | ||
type = "Block" | ||
} |
5 changes: 5 additions & 0 deletions
5
...le/corerp/cloud/resources/testdata/recipes/test-terraform-recipes/azure-storage/output.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
output "result" { | ||
value = { | ||
resources = [azurerm_storage_account.test_storage_account.id] | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...corerp/cloud/resources/testdata/recipes/test-terraform-recipes/azure-storage/variables.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
variable "resource_group_name" { | ||
type = string | ||
} | ||
|
||
variable "location" { | ||
type = string | ||
} |
Oops, something went wrong.