9 Commits

Author SHA1 Message Date
Bruno Schaatsbergen
11832f6fc8
tools: bump copywrite to v0.20.0 (#269)
`copywrite` required a patch due to a vulnerability that was fixed in `go-gh`.
2025-01-24 14:50:20 -05:00
dependabot[bot]
65ca97f469
Bump golang.org/x/net from 0.23.0 to 0.33.0 in /tools (#268)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 09:33:53 -05:00
Bruno Schaatsbergen
3cdbd2dca9
add ephemeral example resource (#264)
* eph: add ephemeral resource

Adds a new example ephemeral resource using a required configurable attribute and an example ID.

* tools: bump terraform-plugin-docs

Bump to the latest stable release, as it includes support for ephemeral resource documentation generation.

* docs: add ephemeral resource documentation

* provider: register new example ephemeral resource

* eph: improve alphabetical ordering of struct fields

* eph: use a computed 'value' attribute

To help provider developers easily understand the concept of ephemeral resources, we use a 'value' attribute in the schema, which is set to an example token (token-123).

* docs: update ephemeral resource docs

* provider: create a separate echo provider factory container

Since not every acceptance test requires an ephemeral provider server for the CLI to connect to and interact with, this introduces a separate provider factory container that includes the echo provider.

* eph: add basic acceptance test for ephemeral resource

* docs: rename ephemeral resource configuration file

* eph: improve http response diag
2025-01-13 10:17:03 -05:00
dependabot[bot]
369f947703
Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /tools (#262)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 09:56:50 -05:00
dependabot[bot]
b8738f6063
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in /tools (#257)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 15:12:31 -05:00
dependabot[bot]
6fa908ea47
Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /tools (#245)
Bumps google.golang.org/protobuf from 1.28.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 10:22:37 -04:00
Bruno Schaatsbergen
45a650b070
offload go generate to tools/ to prevent bloating the root Go module (#239)
* chore: move generate to `tools/`

* move generate to `tools/`

* extend make

* set `-provider-name`

* chore: improve makefile

* chore: remove unwanted comment

* add newlines

* align go versions
2024-09-16 17:38:41 -04:00
Austin Valle
9b24243a86
[COMPLIANCE] Add copyright and license headers (#146)
* add copywrite config

* add note to copywrite HCL file

* [COMPLIANCE] Add copyright and license headers

* Update .copywrite.hcl

Co-authored-by: Brian Flad <bflad417@gmail.com>

* Update .copywrite.hcl

Co-authored-by: Brian Flad <bflad417@gmail.com>

* Update .copywrite.hcl

Co-authored-by: Brian Flad <bflad417@gmail.com>

---------

Co-authored-by: Brian Flad <bflad417@gmail.com>
2023-06-05 14:11:07 -04:00
Brian Flad
a64a312802 Initial commit
Most of the content is inspired by existing content in https://github.com/hashicorp/terraform-provider-scaffolding.
2021-12-01 05:37:16 -05:00