Azure Automation Fortinet Terraform.
git config --global init.templateDir ~/.git-template
pre-commit init-templatedir ~/.git-template
git clone https://github.com/robinmordasiewicz/fortinet-secure-cloud-blueprint-terraform
export TF_CLI_ARGS_init="-backend-config=backend.hcl"
terraform output -raw admin_password
terraform output -raw tls_private_key
git checkout main
git pull
git checkout <local-branch>
git merge main
gh workflow run environment.yml --ref Production -R robinmordasiewicz/fortinet-secure-cloud-blueprint-terraform
trivy fs --scanners vuln,config .
npm install mega-linter-runner -g
Name | Version |
---|---|
terraform | 1.5.7 |
azurerm | 3.77.0 |
random | 3.5.1 |
tls | 4.0.4 |
Name | Version |
---|---|
azurerm | 3.77.0 |
random | 3.5.1 |
tls | 4.0.4 |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
ARM_TENANT_ID | Azure Tenant ID | string |
n/a | yes |
AZURE_RESOURCE_GROUP_NAME | Name of the resource group. | string |
n/a | yes |
AZURE_SERVICE_PRINCIPAL_UUID | Azure service principal UUID | string |
n/a | yes |
AZURE_STORAGE_ACCOUNT_ID | ID of the Azure storage account. | string |
n/a | yes |
dmz-Name | DMZ Subnet Name. | string |
n/a | yes |
dmz-Prefix | DMZ Subnet Prefix. | string |
n/a | yes |
external-Name | External Subnet Name. | string |
n/a | yes |
external-Prefix | External Subnet Prefix. | string |
n/a | yes |
internal-Name | Internal Subnet Name. | string |
n/a | yes |
internal-Prefix | Internal Subnet Prefix. | string |
n/a | yes |
key_name | The name of the key to be created. The value will be randomly generated if blank. | string |
"" |
no |
key_opts | The permitted JSON web key operations of the key to be created. | list(string) |
[ |
no |
key_permissions | List of key permissions. | list(string) |
[ |
no |
key_size | The size in bits of the key to be created. | number |
2048 |
no |
key_type | The JsonWebKeyType of the key to be created. | string |
"RSA" |
no |
secret_permissions | List of secret permissions. | list(string) |
[ |
no |
sku_name | The SKU of the vault to be created. | string |
"premium" |
no |
storage_permissions | List of secret permissions. | list(string) |
[ |
no |
vault_name | The name of the key vault to be created. The value will be randomly generated if blank. | string |
"" |
no |
vnetAddressPrefix | Virtual Network Address prefix. | string |
n/a | yes |
Name | Description |
---|---|
admin_username | Username for admin account |
availabilitySetFdc | Number of fault domains in the availability set. |
availabilitySetId | ID of the Azure availability set. |
availabilitySetName | Name of the Azure availability set. |
azurerm_key_vault_id | ID of the Azure key vault |
azurerm_key_vault_name | Name of the Azure key vault |
currentSubscriptionDisplayName | Azure subscription Name |
currentSubscriptionId | Azure subscription ID |
resourceGroupName | Azure resource group for all objects |
tls_private_key | TSL private key |
ubuntuVmName | Ubuntu machine name. |
vip_public_ip_address | Public IP address |
vnetAddressPrefix = "10.0.0.0/16"
external-Name = "external"
external-Prefix = "10.0.1.0/24"
dmz-Name = "dmz"
dmz-Prefix = "10.0.2.0/24"
internal-Name = "internal"
internal-Prefix = "10.0.3.0/24"
Name | Version |
---|---|
terraform | 1.6.2 |
azurerm | 3.78.0 |
http | 3.4.0 |
random | 3.5.1 |
tls | 4.0.4 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
AZURE_RESOURCE_GROUP_NAME | Name of the resource group. | string |
n/a | yes |
dmz-Name | DMZ Subnet Name. | string |
n/a | yes |
dmz-Prefix | DMZ Subnet Prefix. | string |
n/a | yes |
external-Name | External Subnet Name. | string |
n/a | yes |
external-Prefix | External Subnet Prefix. | string |
n/a | yes |
internal-Name | Internal Subnet Name. | string |
n/a | yes |
internal-Prefix | Internal Subnet Prefix. | string |
n/a | yes |
vnetAddressPrefix | Virtual Network Address prefix. | string |
n/a | yes |
Name | Description |
---|---|
admin_username | Username for admin account |
availabilitySetFdc | Number of fault domains in the availability set. |
availabilitySetId | ID of the Azure availability set. |
availabilitySetName | Name of the Azure availability set. |
currentSubscriptionDisplayName | Azure subscription Name |
currentSubscriptionId | Azure subscription ID |
resourceGroupName | Azure resource group for all objects |
terraform_version | Terraform Version |
tls_private_key | TSL private key |
ubuntuVmName | Ubuntu machine name. |
vip_public_ip_address | Public IP address |