Comments (5)
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.
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.
Hi @ShubhamKumar977 👋
Could you signal your interest in this issue by adding a 👍 to #300 (comment). Thanks!
from terraform-provider-http.
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.
@bendbennett -- Any Update on this request?
from terraform-provider-http.
Related Issues (20)
- Support for application/samlmetadata+xml HOT 1
- GET not following 307 redirects HOT 1
- Allow specifying the expected Content-Type, to hide the warning HOT 3
- GitHub Actions - deprecated warnings found - action required! HOT 2
- Warning: Missing version constraint for provider "http" in "required_providers" (terraform_required_providers) HOT 2
- Warning: Response body is not recognized as UTF-8 even if response_body is not used HOT 3
- Files are stored in the state file multiple times making the state huge HOT 6
- Failure behaviour HOT 1
- Unable to get proper response from Auth0 get token call HOT 5
- Host header is not sent with request_headers HOT 6
- Update Go Module to Go 1.20 Minimum HOT 1
- Add support for rate limiting HOT 5
- Allow reuse of HTTP connection
- Documentation indicates that only text/* or application/json response content types are supported HOT 1
- Intermittent "Missing pending object in plan" error HOT 4
- Add option to specify data result as sensitive
- Error making requests to Cloudflare HOT 8
- Log requests when `TF_LOG=debug`
- Support resending headers on redirects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-http.