Verified Commit 31cc62b1 authored by Radim Peša's avatar Radim Peša
Browse files

M. Usman and deprecated syntax

parent f132d033
resource "rancher2_cluster" "europdx" {
name = "${var.cluster_name}"
name = var.cluster_name
description = "Our beautiful cluster"
rke_config {
network {
......
resource "rancher2_auth_config_github" "github" {
client_id = "${var.github_client_id}"
client_secret = "${var.github_client_secret}"
access_mode = "${var.github_acess_mode}"
allowed_principal_ids = ["${var.lubo_github}", "${var.radim_github}", "${var.rsasinka_github}", "${var.dstuchlik_github}", "${var.akrenek_github}", "${var.dkouril_github}", "${var.zdudova_github}", "${var.jhandl_github}"]
client_id = var.github_client_id
client_secret = var.github_client_secret
access_mode = var.github_acess_mode
allowed_principal_ids = ["${var.lubo_github}", "${var.radim_github}", "${var.rsasinka_github}", "${var.dstuchlik_github}", "${var.akrenek_github}", "${var.dkouril_github}", "${var.zdudova_github}", "${var.jhandl_github}", "${var.musman_github}"]
}
provider "rancher2" {
alias = "bootstrap"
api_url = "${var.rancher_url}"
api_url = var.rancher_url
bootstrap = true
}
resource "rancher2_bootstrap" "admin" {
provider = "rancher2.bootstrap"
current_password = "${var.password}"
password = "${var.password}"
provider = rancher2.bootstrap
current_password = var.password
password = var.password
telemetry = true
}
provider "rancher2" {
api_url = "${rancher2_bootstrap.admin.url}"
token_key = "${rancher2_bootstrap.admin.token}"
api_url = rancher2_bootstrap.admin.url
token_key = rancher2_bootstrap.admin.token
}
......
......@@ -44,6 +44,9 @@ variable "zdudova_github" {
variable "jhandl_github" {
default = "github_user://46920109"
}
variable "musman_github" {
default = "github_user://20109255"
}
variable "github_acess_mode" {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment