Code Monkey home page Code Monkey logo

Comments (5)

loafoe avatar loafoe commented on July 3, 2024

@akodhawan the plan suggests a change in the fhir_store URL in the data source, which in turn caused a change in the endpooint argument of the resources which forces a replacement, which is expected behaviour. Can you confirm no changes were made to the hsdp_cdr_fhir_store data source?

from terraform-provider-hsdp.

akodhawan avatar akodhawan commented on July 3, 2024

@loafoe yup & that is the part which is strange as fhir_store has not changed (same base url & same iam org id)

from terraform-provider-hsdp.

loafoe avatar loafoe commented on July 3, 2024

@akodhawan after our discussion it is clear where this diff is coming from. The ForceNew fields is not desired as it will almost never be the correct change. I'm adding a customDiff function which will error out as a start. There is one possible caveat in that the Terraform documentation states that known after apply values are not supported there which is exactly what is happening in your case. We may need to introduce actual resources for instances but I was reserving these for the days when we are actually able to provision such service via Terraform. This use case might force us to adopt full resources ahead of schedule.

from terraform-provider-hsdp.

akodhawan avatar akodhawan commented on July 3, 2024

@loafoe agree on adding fhir_store resource but that needs more detailing / investigation.
Proposal for now:
Short Term: advice based on doc to implement fhir_store based on pattern - base url / cdr org or chain it from resource (rather from data source)
Long Term: add fhir_store resource

from terraform-provider-hsdp.

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.