correction README.md

master
greglebreton 2 years ago
parent 5aaf23e181
commit ad84c675f4
  1. 4
      README.md
  2. 4
      main.tf

@ -45,12 +45,12 @@ ssh-keygen -t rsa -b 4096
## UTILISATION ## UTILISATION
- Lançer Terraform: - Initialiser Terraform:
```bash ```bash
terraform init terraform init
``` ```
- Lançer Terraform: - Dry run:
```bash ```bash
terraform plan terraform plan
``` ```

@ -86,7 +86,7 @@ resource "google_compute_instance" "default" {
type = "ssh" type = "ssh"
user = var.gcp_ssh_user user = var.gcp_ssh_user
timeout = "500s" timeout = "500s"
private_key = "${file(var.gcp_ssh_priv_key_file)}" private_key = file(var.gcp_ssh_priv_key_file)
} }
} }
@ -102,7 +102,7 @@ resource "google_compute_instance" "default" {
type = "ssh" type = "ssh"
user = var.gcp_ssh_user user = var.gcp_ssh_user
timeout = "500s" timeout = "500s"
private_key = "${file(var.gcp_ssh_priv_key_file)}" private_key = file(var.gcp_ssh_priv_key_file)
} }
} }
} }

Loading…
Cancel
Save