Skip to content

Replace http data source with aws_s3_object for forwarder versions#52

Draft
cahillsf wants to merge 1 commit into
mainfrom
stephen.cahill/http-to-s3-object-versions
Draft

Replace http data source with aws_s3_object for forwarder versions#52
cahillsf wants to merge 1 commit into
mainfrom
stephen.cahill/http-to-s3-object-versions

Conversation

@cahillsf

@cahillsf cahillsf commented Jul 16, 2026

Copy link
Copy Markdown

Summary

  • Replaces data "http" "forwarder_versions" with data "aws_s3_object" "forwarder_versions", dropping the dependency on the separate hashicorp/http provider since the bucket is fetched via the already-required aws provider.
  • Updates all tftest.hcl files to mock aws_s3_object (global defaults or per-run overrides) instead of relying on live network calls to the public S3 bucket during tests.

Test plan

  • terraform validate passes
  • terraform test — 54/54 passing in the root module

Avoids requiring the separate hashicorp/http provider and unmocked
network calls in tests by fetching versions.json via the aws provider
already used elsewhere in the module.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant