Comments (12)
Hm, what's the output of your terraform version
?
My guess is you're running <0.14 per https://www.terraform.io/docs/cli/config/config-file.html#development-overrides-for-provider-developers
from emr-eks-terraform.
usmlt103687:eks rsahota$ terraform version
There are some problems with the CLI configuration:
Error: Invalid provider_installation method block
Unknown provider installation method "dev_overrides" at 2:3.
As a result of the above problems, Terraform may not behave as intended.
Terraform v0.13.6
+ provider registry.terraform.io/cyrilgdn/postgresql v1.14.0
+ provider registry.terraform.io/hashicorp/aws v3.58.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.2.0
+ provider registry.terraform.io/hashicorp/helm v1.3.2
+ provider registry.terraform.io/hashicorp/kubernetes v2.5.0
+ provider registry.terraform.io/hashicorp/kubernetes-alpha v0.6.0
+ provider registry.terraform.io/hashicorp/local v2.1.0
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/hashicorp/template v2.2.0
+ provider registry.terraform.io/hashicorp/tls v3.1.0
Your version of Terraform is out of date! The latest version
is 1.0.6. You can update by downloading from https://www.terraform.io/downloads.html
usmlt103687:eks rsahota$
from emr-eks-terraform.
Terraform v0.13.6
OK, you'll need to upgrade to at least v0.14 or later.
I also need to update the README. :)
from emr-eks-terraform.
@dacort probably missing something, is there a secret that neds to have some access to EMR ?
module.eks_on_emr.aws_emrcontainers_virtual_cluster.cluster: Creating...
Error: error creating EMR containers virtual cluster: ValidationException: Unauthorized to perform read namespace on emr-jobs
on ../../../../modules/aws/eks_on_emr/main.tf line 125, in resource "aws_emrcontainers_virtual_cluster" "cluster":
125: resource "aws_emrcontainers_virtual_cluster" "cluster" {
from emr-eks-terraform.
That should be part of the terraform plan. Can you try running apply
again and seeing if that helps? And if not, is it possible to paste the full log with any sensitive info redacted? (If not, feel free to email github at dcortesi.com)
from emr-eks-terraform.
sent you an email @dacort , please have a look
from emr-eks-terraform.
unrelated to this but this is not the correct namespace?
https://github.com/dacort/emr-eks-terraform/blob/main/kubernetes_roles.tf#L65
from emr-eks-terraform.
Ah, good catch. The key should be api_group
not namespace
. Just pushed a fix.
from emr-eks-terraform.
@dacort Yay, I got the EMR on EKS now :)
Should we commit to PR 20003 and help to get it merged?
Thanks for your big help!!
from emr-eks-terraform.
Sweet! Was it the error in the kubernetes role or something else?
I believe the original author of 20003 is going to add an example set of requirements, so currently waiting on that. We need somebody from the terraform provider to help review it/get it merged.
from emr-eks-terraform.
the only error I saw is the api_group
instead of namespace
, And what I was missing is cluster map roles
{
rolearn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/AWSServiceRoleForAmazonEMRContainers"
username = "emr-containers"
groups = ["emr-jobs-admins"]
},
from emr-eks-terraform.
OK, perfect, thank you!
from emr-eks-terraform.
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 emr-eks-terraform.