forked from pierront/but3-iac
maj
This commit is contained in:
@@ -52,7 +52,7 @@ module "iam" {
|
|||||||
# Fichier template Ansible
|
# Fichier template Ansible
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
data "template" "ansible_cfg" {
|
data "templatefile" "ansible_cfg" {
|
||||||
template = file("${path.module}/../../template/ansible.cfg.tpl")
|
template = file("${path.module}/../../template/ansible.cfg.tpl")
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ resource "google_project_iam_member" "terraform_roles" {
|
|||||||
# Activation OS Login pour SSH
|
# Activation OS Login pour SSH
|
||||||
resource "google_os_login_ssh_public_key" "ssh_key" {
|
resource "google_os_login_ssh_public_key" "ssh_key" {
|
||||||
user = "raphael.hochlaf@gmail.com"
|
user = "raphael.hochlaf@gmail.com"
|
||||||
key = file("~/.ssh/id_rsa.pub")
|
key = file("~/.ssh/id_ed25519.pub")
|
||||||
project = var.project_id
|
project = var.project_id
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user