thankful-optician-22583
08/19/2019, 4:11 PMerror: could not validate provider configuration: 1 error occurred:
* : invalid or unknown key: role_arn
This is my configuration new k8s.Provider("myk8s", {
kubeconfig: new terraform.state.RemoteStateReference("eks", {
backendType: "s3",
bucket: "XXXX-tfstate-backend-bucket",
key: "XXXXXXX",
workspace: "XXXXXXX",
region: "us-east-1",
roleArn: "arn:aws:iam::XXXXXXXXXXX:role/XXXX-XXXX-gitlab-terraform"
}).getOutput("kubectl_config")});
Has anyone encountered this before?best-xylophone-83824
08/19/2019, 4:14 PM.getOutput
, it seems that you pass role_arn
to a k8s provider and it can't recognize itthankful-optician-22583
08/19/2019, 5:48 PMS3RemoteStateReferenceArgs
does not contain acl
as in the actual terraform documentation.terraform {
backend "s3" {
region = "us-east-1"
bucket = "XXXXXXXXXXXXXXXX"
key = "XXXXXXXXXXXXXXX"
dynamodb_table = "XXXXXXXXXXXXXXX"
acl = "bucket-owner-read"
role_arn = "XXXXXXXXXXXXX"
}
}