Giter VIP home page Giter VIP logo

Comments (1)

BrianMMcClain avatar BrianMMcClain commented on June 12, 2024

Hi @sking8484! Sorry this issue never got addressed. I'm going through this repo to clean up some of the issues and wanted to see if you still required help on this. For those that may run into this issue in the future, I wanted to share the terraform_remote_state data source that I used for this.

data "terraform_remote_state" "eks" {
  backend = "remote"

  config = {
    organization = "MY_ORG"
    workspaces = {
      name = "learn-terraform-eks"
    }
  }
}

In this case, I have a workspace in HCP Terraform named learn-terraform-eks that I deployed an EKS cluster with previously.

One other thing I wanted to raise is if you are also deploying your workspace that manages the Nginx deployment/service in HCP Terraform as well, you will need to explicitly allow that workspace access to the learn-terraform-eks workspace's state. Refer to the documentation for more details.

from learn-terraform-deploy-nginx-kubernetes-provider.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.