Giter Site home page Giter Site logo

Comments (8)

negz avatar negz commented on August 10, 2024

I'm currently seeing the same behaviour with random_id.

Terraform v0.11.6
+ provider.aws v1.7.0
+ provider.google v1.9.0
+ provider.ignition v1.0.0
+ provider.local v1.1.0
+ provider.random v1.2.0
+ provider.template v1.0.0
+ provider.tls v1.0.0

from terraform-provider-random.

hargut avatar hargut commented on August 10, 2024

As I was lately comming across another issue, I was wondering if this could be related to hashicorp/terraform#17641

from terraform-provider-random.

adback03 avatar adback03 commented on August 10, 2024

I'm experiencing the same problem with random_pet. This is with Terraform v0.11.8 and provider.random v2.0.

from terraform-provider-random.

af6140 avatar af6140 commented on August 10, 2024

Similar issue when using module output as random_id keepers var.

from terraform-provider-random.

0mnius avatar 0mnius commented on August 10, 2024

I found this working this way (tf v0.11.13):
with count
ami = "${lookup(random_id.server.*.keepers[count.index], "ami_id")}"
without
ami = "${lookup(random_id.server.*.keepers, "ami_id")}"

from terraform-provider-random.

mkam423 avatar mkam423 commented on August 10, 2024

Still running into this issue. My theory is that the values in the keepers field is expected to be constant and does not know how to handle dynamic inputs (outputs of newly created resources). Thus, it appears as empty since the resource haven't been created yet.

from terraform-provider-random.

bflad avatar bflad commented on August 10, 2024

Hi folks 👋 There have been a large number of changes to Terraform and this particular Terraform Provider since this issue was last discussed. If you are still running into an issue with recent versions of both, please open a new issue and we will take a fresh look. Thank you.

from terraform-provider-random.

github-actions avatar github-actions commented on August 10, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

from terraform-provider-random.

Related Issues (20)

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.