feat: converting to javascript action
Signed-off-by: Rogério Peixoto <rogerio.peixoto@checkmarx.com>
This commit is contained in:
21
test/samples/positive1.tf
Normal file
21
test/samples/positive1.tf
Normal file
@ -0,0 +1,21 @@
|
||||
resource "azurerm_resource_group" "positive1" {
|
||||
name = "acceptanceTestResourceGroup1"
|
||||
location = "West US"
|
||||
}
|
||||
|
||||
resource "azurerm_sql_server" "positive2" {
|
||||
name = "mysqlserver1"
|
||||
resource_group_name = "acceptanceTestResourceGroup1"
|
||||
location = "West US"
|
||||
version = "12.0"
|
||||
administrator_login = "4dm1n157r470r"
|
||||
administrator_login_password = "4-v3ry-53cr37-p455w0rd"
|
||||
}
|
||||
|
||||
resource "azurerm_sql_active_directory_administrator" "positive3" {
|
||||
server_name = "mysqlserver2"
|
||||
resource_group_name = "acceptanceTestResourceGroup1"
|
||||
login = "sqladmin"
|
||||
tenant_id = data.azurerm_client_config.current.tenant_id
|
||||
object_id = data.azurerm_client_config.current.object_id
|
||||
}
|
13
test/samples/positive2.tf
Normal file
13
test/samples/positive2.tf
Normal file
@ -0,0 +1,13 @@
|
||||
resource "azurerm_resource_group" "positive1" {
|
||||
name = "resourceGroup1"
|
||||
location = "West US"
|
||||
}
|
||||
|
||||
resource "azurerm_container_registry" "positive2" {
|
||||
name = "containerRegistry1"
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
location = azurerm_resource_group.rg.location
|
||||
sku = "Premium"
|
||||
admin_enabled = true
|
||||
georeplication_locations = ["East US", "West Europe"]
|
||||
}
|
Reference in New Issue
Block a user