Hi, I have a question I want to provide a K8s prov...
# general
Hi, I have a question I want to provide a K8s provider that contains a roleArn. the secret & access key that are in the env vars only can assume roles. When I set them however I see this error
Copy code
error: could not validate provider configuration: 1 error occurred:
    	* : invalid or unknown key: role_arn
This is my configuration
Copy code
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"
Has anyone encountered this before?
try console.log() result of
, it seems that you pass
to a k8s provider and it can't recognize it
(just guessing, never used TF reference)
It seems this object
Copy code
does not contain
Copy code
as in the actual terraform documentation.
Copy code
terraform {
  backend "s3" {
    region         = "us-east-1"
    bucket         = "XXXXXXXXXXXXXXXX"
    key            = "XXXXXXXXXXXXXXX"
    dynamodb_table = "XXXXXXXXXXXXXXX"
    acl            = "bucket-owner-read"
    role_arn       = "XXXXXXXXXXXXX"