Skip to content
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

terraform-provider: add image datasource #2642

Merged
merged 37 commits into from
Nov 27, 2023
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
cb96a76
terraform-provider: init
msanft Nov 21, 2023
04213ff
terraform-provider: add basic docgen
msanft Nov 22, 2023
f610ac1
terraform-provider: fix build steps
msanft Nov 22, 2023
82e93e3
terraform-provider: extend build process and docgen
msanft Nov 22, 2023
347a400
dev-docs: document provider usage
msanft Nov 22, 2023
d5c38c2
bazel: upload aspect lib mirror
msanft Nov 22, 2023
8608abe
terraform-provider: don't try to create lockfiles
msanft Nov 22, 2023
c6a5631
bazel: fix shellcheck issues
msanft Nov 22, 2023
4366a09
bazel: separate paths to check
msanft Nov 22, 2023
47951f4
terraform-provider: clean up old files
msanft Nov 23, 2023
26cd834
terraform-provider: update provider resource
msanft Nov 23, 2023
f390142
terraform-provider: add image data source
msanft Nov 23, 2023
57028db
dev-docs: remove unnecessary init
msanft Nov 23, 2023
7bede15
bazel: adhere to Terraform naming expectations
msanft Nov 23, 2023
a8ad50f
terraform-provider: fix expected data type
msanft Nov 23, 2023
2137a88
terraform-provider: generate docs
msanft Nov 23, 2023
4942715
terraform-provider: improve errors
msanft Nov 23, 2023
8c83c86
terraform-provider: add acceptance tests for data source
msanft Nov 23, 2023
324c8e1
terraform-provider: fix dependencies
msanft Nov 23, 2023
acd6599
bazel: quote var reference
msanft Nov 24, 2023
d4fd81d
terraform-provider: make region optional
msanft Nov 24, 2023
fb8dbd4
terraform-provider: bind imagefetcher to data source
msanft Nov 24, 2023
7680c84
bazel: tidy
msanft Nov 24, 2023
7f421e1
terraform-provider: remove unused parameter
msanft Nov 24, 2023
d58b89d
terraform-provider: remove unused parameter
msanft Nov 24, 2023
70a70db
terraform-provider: extend acceptance tests
msanft Nov 24, 2023
665c0d3
terraform-provider: allow tests to be ran without Bazel
msanft Nov 24, 2023
c597df2
dev-docs: document testing
msanft Nov 24, 2023
65e56ca
terraform-provider: set binary path accordingly
msanft Nov 24, 2023
8c41ad0
dev-docs: document docgen process for the provider
msanft Nov 24, 2023
5fdeb56
bazel: run acceptance test in writable environment
msanft Nov 24, 2023
864d183
bazel: try to write to `$TMPDIR`
msanft Nov 24, 2023
64ea599
terraform-provider: style nits
msanft Nov 24, 2023
686f465
terraform-provider: leave TODO
msanft Nov 24, 2023
c74b19b
bazel: tidy
msanft Nov 24, 2023
bf901fa
terraform-provider: regenerate docs
msanft Nov 24, 2023
215e4b1
terraform-provider: fix comment
msanft Nov 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
terraform-provider: remove unused parameter
  • Loading branch information
msanft committed Nov 24, 2023
commit 7f421e122a92913ff5c5a3db5c603fcd20b86ba8
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (d *ImageDataSource) Schema(_ context.Context, _ datasource.SchemaRequest,
// E.g., region should be required if, and only if, AWS is used.

// Configure configures the data source.
func (d *ImageDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse) {
func (d *ImageDataSource) Configure(_ context.Context, _ datasource.ConfigureRequest, resp *datasource.ConfigureResponse) {
// Create the image-fetcher client.
d.imageFetcher = imagefetcher.New()
}
Expand Down