Comments (4)
The meaning of akssa is an abbreviated name that I use for kubernetes service account.
I use the service account information I created in the serviceaccountmain.tf file by creating a terraform state variable called akssa in the elkmain.tf file.
from elk-with-eck-operator.
from elk-with-eck-operator.
Did you execute serviceaccountmain.tf ? because it says it can't find state. You must run the service account first. Then you can run the elkmain.tf file after making sure that the state file is out.
from elk-with-eck-operator.
I ran the serviceaccountmain.tf file first, and got this error back:
Error: Invalid index
│
│ on serviceaccountmain.tf line 14, in provider "kubernetes":
│ 14: client_certificate = base64decode(data.azurerm_kubernetes_cluster.akscluster.kube_admin_config.0.client_certificate)
│
│ The given key does not identify an element in this collection value.
╵
╷
│ Error: Invalid index
│
│ on serviceaccountmain.tf line 15, in provider "kubernetes":
│ 15: client_key = base64decode(data.azurerm_kubernetes_cluster.akscluster.kube_admin_config.0.client_key)
│
│ The given key does not identify an element in this collection value.
╵
╷
│ Error: Invalid index
│
│ on serviceaccountmain.tf line 16, in provider "kubernetes":
│ 16: cluster_ca_certificate = base64decode(data.azurerm_kubernetes_cluster.akscluster.kube_admin_config.0.cluster_ca_certificate)
│
│ The given key does not identify an element in this collection value.
from elk-with-eck-operator.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elk-with-eck-operator.