Skip to content

feat: support provider-level host configuration #524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdb
Copy link

@mdb mdb commented Apr 21, 2025

This seeks to address issue #34 by offering the ability to specify provider-level host configuration & host-specific request headers.

This also presents as an alternative implementation to PR #521, perhaps a bit more inline with what @apparentlymart recommended a while back.

@mdb mdb force-pushed the mdb/configurable-host branch from 0175420 to acad059 Compare April 21, 2025 21:27
request.Host = header
}
}
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Callout: ☝️ Ideally (at least for my use case), these provider-level headers are regarded as sensitive and therefore not logged in plain text if/when TF_DEBUG=1, etc. I haven't dug too deep on whether they currently are.

@mdb mdb force-pushed the mdb/configurable-host branch from acad059 to 7cba77c Compare April 21, 2025 21:30
@mdb mdb force-pushed the mdb/configurable-host branch from 7cba77c to 1c2ec85 Compare April 22, 2025 12:27
@mdb mdb marked this pull request as ready for review April 22, 2025 12:27
@mdb mdb requested a review from a team as a code owner April 22, 2025 12:27
@mdb mdb changed the title feat: support provider host configuration feat: support provider-level host configuration Apr 22, 2025
@mdb mdb force-pushed the mdb/configurable-host branch 2 times, most recently from db7d1a5 to 75aa6e5 Compare April 22, 2025 12:54
This seeks to address issue hashicorp#34 by offering the ability to specify
provider-level host configuration & host-specific request headers.

Signed-off-by: Mike Ball <[email protected]>
@mdb mdb force-pushed the mdb/configurable-host branch from 75aa6e5 to b217007 Compare April 25, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant