File tree 2 files changed +8
-9
lines changed
integration-environment-azure
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
provider "azurerm" {
2
- version = " ~> 2.11 "
2
+ version = " ~> 2.3 "
3
3
features {}
4
4
}
5
5
@@ -50,12 +50,12 @@ resource "azurerm_storage_account" "blobaccount" {
50
50
data "azurerm_client_config" "current" {
51
51
}
52
52
53
- # resource "azurerm_role_assignment" "datalake" {
54
- # scope = azurerm_storage_account.adlsaccount.id
55
- # #https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#storage-blob-data-contributor
56
- # role_definition_name = "Storage Blob Data Contributor"
57
- # principal_id = data.azurerm_client_config.current.object_id
58
- # }
53
+ resource "azurerm_role_assignment" "datalake" {
54
+ scope = azurerm_storage_account. adlsaccount . id
55
+ # https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#storage-blob-data-contributor
56
+ role_definition_name = " Storage Blob Data Contributor"
57
+ principal_id = data. azurerm_client_config . current . object_id
58
+ }
59
59
60
60
resource "azurerm_storage_container" "adlsexample" {
61
61
name = " dev"
Original file line number Diff line number Diff line change @@ -44,5 +44,4 @@ echo -e "----> Running Azure Acceptance Tests \n\n"
44
44
# Output debug log to file while tests run
45
45
export TF_LOG_PATH=$PWD /tf.log
46
46
# Run all Azure integration tests
47
- # TF_LOG=debug TF_ACC=1 gotestsum --format short-verbose --raw-command go test -v -json -short -coverprofile=coverage.out -test.timeout 35m -run 'TestAccAzure' ./../...
48
- TF_LOG=debug TF_ACC=1 gotestsum --format short-verbose --raw-command go test -v -json -short -coverprofile=coverage.out -test.timeout 35m -run ' TestAccAzureBlob' ./../...
47
+ TF_LOG=debug TF_ACC=1 gotestsum --format short-verbose --raw-command go test -v -json -short -coverprofile=coverage.out -test.timeout 35m -run ' TestAccAzure' ./../...
You can’t perform that action at this time.
0 commit comments