Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Azure] Fixing Azure CI workflow to pin to Terraform 15.1 #882

Merged
merged 10 commits into from
Apr 29, 2021
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
ci-job:
runs-on: [ubuntu-latest]
steps:
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 0.15.1
terraform_wrapper: false
- name: checkout to repo
uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform.tfvars
*.tfstate*
.terragrunt
.terragrunt-cache

.terraform.lock.hcl
# IDE files
.idea
.vscode
Expand Down
3 changes: 2 additions & 1 deletion examples/azure/terraform-azure-aks-example/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ output "cluster_password" {
}

output "kube_config" {
value = azurerm_kubernetes_cluster.k8s.kube_config_raw
value = azurerm_kubernetes_cluster.k8s.kube_config_raw
sensitive = true
}

output "host" {
Expand Down
3 changes: 2 additions & 1 deletion examples/azure/terraform-azure-cosmosdb-example/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ output "endpoint" {
}

output "primary_key" {
value = azurerm_cosmosdb_account.test.primary_key
value = azurerm_cosmosdb_account.test.primary_key
sensitive = true
}
2 changes: 1 addition & 1 deletion examples/azure/terraform-azure-vm-example/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ output "virtual_network_name" {
}

output "vm_admin_username" {
value = azurerm_virtual_machine.vm_example.os_profile[*].admin_username
value = nonsensitive(azurerm_virtual_machine.vm_example.os_profile[*].admin_username)
}

output "vm_image_sku" {
Expand Down