File tree Expand file tree Collapse file tree 6 files changed +45
-1
lines changed
examples/resources/openai_model_response Expand file tree Collapse file tree 6 files changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.1.0] - 2025-06-27
9+ ### Added
10+ - Timeout configuration support for provider operations (#21 )
11+ - Update and delete functionality for Organization Users resource (#19 )
12+
13+ ### Changed
14+ - Simplified import scripts for better maintainability (#18 )
15+ - Updated example scripts for clarity (#17 )
16+
17+ ### Fixed
18+ - Docs updated to render examples on Terraform Registry correctly
19+
820## [ 1.0.3] - 2025-06-23
921### Fixed
1022- Docs updated to render examples on Terraform Registry correctly
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ REGISTRY_HOSTNAME=registry.terraform.io
77NAMESPACE =mkdev-me
88NAME =openai
99BINARY =terraform-provider-${NAME}
10- VERSION =1.0.3
10+ VERSION =1.1.0
1111OS_ARCH =darwin_arm64
1212
1313default : install
Original file line number Diff line number Diff line change @@ -23,7 +23,16 @@ created.
2323Set preserve_on_change = true to prevent resource recreation on parameter changes.
2424If preservation is enabled, the resource will show drift but will not be recreated.
2525
26+ ## Example Usage
2627
28+ ``` terraform
29+ resource "openai_model_response" "logo_prompt" {
30+ model = "gpt-4.1-2025-04-14"
31+ input = <<EOF
32+ Create a prompt to generate super fun logo for a new Terraform OpenAI provider.
33+ EOF
34+ }
35+ ```
2736
2837<!-- schema generated by tfplugindocs -->
2938## Schema
Original file line number Diff line number Diff line change 1+ terraform {
2+ required_providers {
3+ openai = {
4+ source = " mkdev-me/openai"
5+ }
6+ }
7+ }
8+
9+ provider "openai" {
10+ # API key is loaded from OPENAI_API_KEY environment variable
11+ }
Original file line number Diff line number Diff line change 1+ resource "openai_model_response" "logo_prompt" {
2+ model = " gpt-4.1-2025-04-14"
3+ input = << EOF
4+ Create a prompt to generate super fun logo for a new Terraform OpenAI provider.
5+ EOF
6+ }
Original file line number Diff line number Diff line change 1+ variable "openai_api_key" {
2+ description = " OpenAI API key. If not provided, uses OPENAI_API_KEY environment variable"
3+ type = string
4+ sensitive = true
5+ default = null
6+ }
You can’t perform that action at this time.
0 commit comments