Bruno Schaatsbergen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8934cc1ded 
							
						 
					 
					
						
						
							
							provider: migrate to the new plugin testing API ( #266 )  
						
						... 
						
						
						
						Migrating from the legacy plugin testing API to the new plan and state check API, which provides improved testing capabilities. 
						
						
					 
					
						2025-01-22 11:03:57 -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 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							37b9fa0171 
							
						 
					 
					
						
						
							
							Use tfversion variables instead of go-version directly for function testing ( #221 )  
						
						... 
						
						
						
						Reference: https://github.com/hashicorp/terraform-provider-scaffolding-framework/pull/220 
Consuming developers should not directly need to worry about `github.com/hashicorp/go-version` unless they want to use that Go module. Provider-defined functions testing was releasing in this template repository before the Terraform 1.8.0 version variable in the terraform-plugin-testing `tfversion` package was available. Now that the variable is present, we can remove go-version as a direct dependency, simplifying both the code and dependency management slightly. 
						
						
					 
					
						2024-05-24 12:40:10 -04:00 
						 
				 
			
				
					
						
							
							
								hashicorp-copywrite[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							137daa7293 
							
						 
					 
					
						
						
							
							[COMPLIANCE] Add Copyright and License Headers ( #199 )  
						
						... 
						
						
						
						Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> 
						
						
					 
					
						2024-03-04 11:44:55 -05:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4ac215bff 
							
						 
					 
					
						
						
							
							Bump Go version, dependency versions, add example function ( #198 )  
						
						... 
						
						
						
						Reference: https://developer.hashicorp.com/terraform/plugin/framework/functions 
Reference: https://github.com/hashicorp/terraform-providers-devex-internal/issues/175 
Terraform 1.8 and later introduce the concept of provider-defined functions and this adds an example function that accepts a string argument and returns the same value as a string return.
Dependencies updated via:
```
go get github.com/hashicorp/terraform-plugin-framework@v1.6.0
go get github.com/hashicorp/terraform-plugin-docs@v0.18.0
go mod tidy
``` 
						
						
					 
					
						2024-02-28 10:11:33 -05:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							035cf35e19 
							
						 
					 
					
						
						
							
							Remove extraneous pointers in model variable declarations ( #165 )  
						
						... 
						
						
						
						Reference: https://github.com/hashicorp/terraform-provider-scaffolding-framework/issues/164  
						
						
					 
					
						2023-08-04 12:46:36 -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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							be04f08750 
							
						 
					 
					
						
						
							
							resource/example: Add defaulted attribute ( #136 )  
						
						... 
						
						
						
						Reference: https://developer.hashicorp.com/terraform/plugin/framework/resources/default 
New example attribute highlights terraform-plugin-framework v1.2.0+ `Default` functionality for resource attributes. While the scaffolding code is not meant to be exhaustive of all available framework functionality, this new built-in feature is important enough to highlight. 
						
						
					 
					
						2023-03-22 08:27:52 -04:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6deb8ed836 
							
						 
					 
					
						
						
							
							Migrate to terraform-plugin-testing ( #132 )  
						
						... 
						
						
						
						Reference: https://discuss.hashicorp.com/t/announcing-the-terraform-plugin-testing-module/49914 
This will ensure that developers cloning this template repository will get the most current Go module for provider testing. 
						
						
					 
					
						2023-03-10 09:40:04 -05:00 
						 
				 
			
				
					
						
							
							
								Austin Valle 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fa8056ce94 
							
						 
					 
					
						
						
							
							ci: add golangci-lint + fix lints ( #120 )  
						
						... 
						
						
						
						* ci: add `golangci-lint` + fix lints
* switched order 
						
						
					 
					
						2023-01-26 14:24:42 -05:00 
						 
				 
			
				
					
						
							
							
								Benjamin Bennett 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							06010dcd78 
							
						 
					 
					
						
						
							
							Fixing commented code to refer to r.client rather than d.client in example_resource ( #106 ) ( #107 )  
						
						
						
						
					 
					
						2022-12-15 14:53:01 +00:00 
						 
				 
			
				
					
						
							
							
								dependabot[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e83f9b668 
							
						 
					 
					
						
						
							
							Bump github.com/hashicorp/terraform-plugin-framework from 0.17.0 to 1.0.0 ( #104 )  
						
						... 
						
						
						
						* Bump github.com/hashicorp/terraform-plugin-framework
Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework ) from 0.17.0 to 1.0.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v0.17.0...v1.0.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* internal/provider: Remove now extraneous provider.ProviderWithMetadata
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <bflad417@gmail.com> 
						
						
					 
					
						2022-12-13 14:33:38 -05:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aed8000e78 
							
						 
					 
					
						
						
							
							Migrate to new schema packages ( #103 )  
						
						
						
						
					 
					
						2022-12-10 20:15:03 -05:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c05b586f5c 
							
						 
					 
					
						
						
							
							internal/provider: Updates for terraform-plugin-framework@v0.15.0 deprecations ( #97 )  
						
						
						
						
					 
					
						2022-10-26 10:19:28 -04:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							486074a22a 
							
						 
					 
					
						
						
							
							Updates for framework provider.DataSourceType and provider.ResourceType deprecations ( #86 )  
						
						
						
						
					 
					
						2022-09-12 15:59:37 -04:00 
						 
				 
			
				
					
						
							
							
								dependabot[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cdfbef8f1b 
							
						 
					 
					
						
						
							
							Bump github.com/hashicorp/terraform-plugin-framework from 0.10.0 to 0.11.0 ( #77 )  
						
						... 
						
						
						
						* Bump github.com/hashicorp/terraform-plugin-framework
Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Code updates for terraform-plugin-framework v0.11.0
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <bflad417@gmail.com> 
						
						
					 
					
						2022-08-11 13:03:35 -04:00 
						 
				 
			
				
					
						
							
							
								dependabot[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce25f30f3f 
							
						 
					 
					
						
						
							
							Bump github.com/hashicorp/terraform-plugin-framework from 0.9.0 to 0.10.0 ( #70 )  
						
						... 
						
						
						
						* Bump github.com/hashicorp/terraform-plugin-framework
Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* internal/provider: Switch from tftypes.NewAttributePath() to path.Root()
* deps: github.com/hashicorp/terraform-plugin-sdk/v2@v2.19.0
Updated via:
```shell
go get github.com/hashicorp/terraform-plugin-sdk/v2@v2.19.0
go mod tidy
```
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <bflad417@gmail.com> 
						
						
					 
					
						2022-07-19 11:46:41 -04:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							16a0751849 
							
						 
					 
					
						
						
							
							Updates for terraform-plugin-framework v0.7.0 ( #40 )  
						
						... 
						
						
						
						Reference: https://github.com/hashicorp/terraform-plugin-framework/releases/tag/v0.7.0  
						
						
					 
					
						2022-04-29 16:02:22 -04:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							51deae2bc7 
							
						 
					 
					
						
						
							
							internal/provider: Add compilation based interface assertions ( #38 )  
						
						... 
						
						
						
						This is a quick method for compilation errors to be raised should the types not satisfy the expected framework interfaces. 
						
						
					 
					
						2022-04-22 06:46:40 -04:00 
						 
				 
			
				
					
						
							
							
								Paddy 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							798e2e5525 
							
						 
					 
					
						
						
							
							Demonstrate logging in provider code. ( #7 )  
						
						... 
						
						
						
						Add an example of using the tflog package to write a provider log. 
						
						
					 
					
						2021-12-23 10:48:23 -08:00 
						 
				 
			
				
					
						
							
							
								Brian Flad 
							
						 
					 
					
						
						
						
						
							
						
						
							d1b343faed 
							
						 
					 
					
						
						
							
							Add provider configuration fetching to Configure since it will be a very common use case  
						
						
						
						
					 
					
						2021-12-01 06:39:46 -05: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