-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update framework codgen 0.4.1 and fix resource minimal and defau…
…lt state (#11) * Update terraform-plugin-codegen-framework to v0.4.1 * Return full apply result response on client apply * Review optional and required user and group attributes in schema * Fix User and Group resource default state and update on apply * Add test for minimal User and Group resources definition
- Loading branch information
Showing
22 changed files
with
317 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ CDK_BASE_URL=http://localhost:8080 | |
CDK_ADMIN_EMAIL=[email protected] | ||
CDK_ADMIN_PASSWORD=test | ||
CDK_DEBUG=false | ||
TF_LOG=INFO | ||
TF_LOG_PROVIDER_CONDUKTOR=INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,8 @@ This resource allows you to create, read, update and delete users in Conduktor. | |
resource "conduktor_user_v2" "example" { | ||
name = "[email protected]" | ||
spec { | ||
firstname = "Bob" | ||
lastname = "Smith" | ||
permissions = [] | ||
firstname = "Bob" | ||
lastname = "Smith" | ||
} | ||
} | ||
``` | ||
|
@@ -64,7 +63,7 @@ resource "conduktor_user_v2" "example" { | |
<a id="nestedblock--spec"></a> | ||
### Nested Schema for `spec` | ||
|
||
Required: | ||
Optional: | ||
|
||
- `firstname` (String) User firstname | ||
- `lastname` (String) User lastname | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
resource "conduktor_user_v2" "example" { | ||
name = "[email protected]" | ||
spec { | ||
firstname = "Bob" | ||
lastname = "Smith" | ||
permissions = [] | ||
firstname = "Bob" | ||
lastname = "Smith" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.