Error: Invalid reference
on github_resources.tf line 20, in resource "github_repository" "web":
20: name = "${reponame}"
A reference to a resource type must be followed by at least one attribute
access, specifying the resource name.
Solution:
Declare variable with var. such as name = “${var.reponame}” instead of name = “${reponame}”
Terraform Basic Tutorial with Demo by Piyush 2020
Terraform Fundamental Tutorials by Harish in 2020
Terraform Fundamental Tutorial By Guru in 2020 Part-1
Terraform Fundamental Tutorial By Guru in 2020 Part-2
Terraform Fundamental Tutorial By Guru in 2020 Part-3
Terraform Fundamental Tutorial By Guru in 2020 Part-4
Terraform Fundamental Tutorial By Guru in 2020 Part-5
Terraform Advance Tutorial for Beginners with Demo 2020 — By DevOpsSchool
Latest posts by Rajesh Kumar (see all)
- What is IBM Cloud Pak? - May 3, 2024
- What is ZooKeeper? - April 29, 2024
- What is Mobile Virtual Network Operator? - April 18, 2024