Git Product home page Git Product logo

Comments (5)

bendbennett avatar bendbennett commented on August 24, 2024

Hi @srikanth2302 👋

Thank you for raising this issue. We will leave this issue open and prioritise looking into this further on the basis of the level of community interest that is expressed.

Related: #241

from terraform-provider-http.

ShubhamKumar977 avatar ShubhamKumar977 commented on August 24, 2024

Hi @bendbennett

I think this would be a good feature

Terraform CLI and Provider Versions

Terraform CLI Version: v1.3.6 Provider Version: 3.4.0

Use Cases or Problem Statement

I Would like to have a http resource request so that terraform can perform the Post Operation only if Attributes of the resource changed. DataSource is continuously performing POST Request which is not required.

Proposal

Something like below `

resource "http" "Post_Request" {
  name         = "vault-mount"
  url          = "https://localhost:8200/v1/sys/mounts/"
  method       = "POST"
  request_body = <<EOF
{
  "type": "aws",
  "config": {
    "force_no_cache": true
  }
}

EOF

  headers = {
    X-Vault-Token = "xxx"
  }
}

How much impact is this issue causing?

High

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Hi @bendbennett,

It would be good to have this as a resource. Can you please prioritize this enhancement.

from terraform-provider-http.

bendbennett avatar bendbennett commented on August 24, 2024

Hi @ShubhamKumar977 👋

Could you signal your interest in this issue by adding a 👍 to #300 (comment). Thanks!

from terraform-provider-http.

varshith1212 avatar varshith1212 commented on August 24, 2024

Hi @bendbennett

This seems to be a reasonable request, I also have a use case not to execute data source, and having a resource would suit the requirement that we are trying to achieve...
Can you prioritize this enhancement?

from terraform-provider-http.

srikanth2302 avatar srikanth2302 commented on August 24, 2024

@bendbennett -- Any Update on this request?

from terraform-provider-http.

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.