File tree Expand file tree Collapse file tree 10 files changed +123
-4
lines changed
unleash_project_environment Expand file tree Collapse file tree 10 files changed +123
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,25 @@ description: |-
10
10
11
11
Fetch a context field.
12
12
13
-
13
+ ## Example Usage
14
+
15
+ ``` terraform
16
+ resource "unleash_context_field" "ham_context_field" {
17
+ name = "ham"
18
+ }
19
+
20
+ resource "unleash_context_field" "cheese_context_field" {
21
+ name = "cheese"
22
+ stickiness = true
23
+ description = "Type of cheese to constrain on"
24
+ legal_values = [
25
+ {
26
+ value = "brie"
27
+ description = "Gooey, delicious"
28
+ }
29
+ ]
30
+ }
31
+ ```
14
32
15
33
<!-- schema generated by tfplugindocs -->
16
34
## Schema
Original file line number Diff line number Diff line change @@ -10,7 +10,14 @@ description: |-
10
10
11
11
Manage Unleash environments.
12
12
13
+ ## Example Usage
13
14
15
+ ``` terraform
16
+ resource "unleash_environment" "space" {
17
+ name = "outerspace"
18
+ type = "vacuum"
19
+ }
20
+ ```
14
21
15
22
<!-- schema generated by tfplugindocs -->
16
23
## Schema
Original file line number Diff line number Diff line change @@ -10,7 +10,18 @@ description: |-
10
10
11
11
Manages OIDC configuration.
12
12
13
-
13
+ ## Example Usage
14
+
15
+ ``` terraform
16
+ resource "unleash_oidc" "simple_oidc_config" {
17
+ enabled = true
18
+ discover_url = "http://mock-openid-server:9000/.well-known/openid-configuration"
19
+ secret = "kinda-sorta-secret"
20
+ client_id = "client-id"
21
+ auto_create = true
22
+ default_root_role = 1
23
+ }
24
+ ```
14
25
15
26
<!-- schema generated by tfplugindocs -->
16
27
## Schema
Original file line number Diff line number Diff line change @@ -10,7 +10,27 @@ description: |-
10
10
11
11
ProjectEnvironment schema
12
12
13
-
13
+ ## Example Usage
14
+
15
+ ``` terraform
16
+ resource "unleash_project" "project_1" {
17
+ id = "one"
18
+ name = "First project"
19
+ description = "My first project"
20
+ }
21
+
22
+ resource "unleash_environment" "space" {
23
+ name = "outerspace"
24
+ type = "vacuum"
25
+ }
26
+
27
+ resource "unleash_project_environment" "space_environment" {
28
+ project_id = unleash_project.project_1.id
29
+ environment_name = unleash_environment.space.name
30
+ change_requests_enabled = true
31
+ required_approvals = 2
32
+ }
33
+ ```
14
34
15
35
<!-- schema generated by tfplugindocs -->
16
36
## Schema
Original file line number Diff line number Diff line change @@ -10,7 +10,18 @@ description: |-
10
10
11
11
Manages SAML configuration.
12
12
13
-
13
+ ## Example Usage
14
+
15
+ ``` terraform
16
+ resource "unleash_saml" "simple_saml_config" {
17
+ enabled = true
18
+ certificate = "test-certificate"
19
+ entity_id = "some-entity-id"
20
+ sign_on_url = "http://other-places.com"
21
+ auto_create = true
22
+ default_root_role = 1
23
+ }
24
+ ```
14
25
15
26
<!-- schema generated by tfplugindocs -->
16
27
## Schema
Original file line number Diff line number Diff line change
1
+ resource "unleash_context_field" "ham_context_field" {
2
+ name = " ham"
3
+ }
4
+
5
+ resource "unleash_context_field" "cheese_context_field" {
6
+ name = " cheese"
7
+ stickiness = true
8
+ description = " Type of cheese to constrain on"
9
+ legal_values = [
10
+ {
11
+ value = " brie"
12
+ description = " Gooey, delicious"
13
+ }
14
+ ]
15
+ }
Original file line number Diff line number Diff line change
1
+ resource "unleash_environment" "space" {
2
+ name = " outerspace"
3
+ type = " vacuum"
4
+ }
Original file line number Diff line number Diff line change
1
+ resource "unleash_oidc" "simple_oidc_config" {
2
+ enabled = true
3
+ discover_url = " http://mock-openid-server:9000/.well-known/openid-configuration"
4
+ secret = " kinda-sorta-secret"
5
+ client_id = " client-id"
6
+ auto_create = true
7
+ default_root_role = 1
8
+ }
Original file line number Diff line number Diff line change
1
+ resource "unleash_project" "project_1" {
2
+ id = " one"
3
+ name = " First project"
4
+ description = " My first project"
5
+ }
6
+
7
+ resource "unleash_environment" "space" {
8
+ name = " outerspace"
9
+ type = " vacuum"
10
+ }
11
+
12
+ resource "unleash_project_environment" "space_environment" {
13
+ project_id = unleash_project. project_1 . id
14
+ environment_name = unleash_environment. space . name
15
+ change_requests_enabled = true
16
+ required_approvals = 2
17
+ }
Original file line number Diff line number Diff line change
1
+ resource "unleash_saml" "simple_saml_config" {
2
+ enabled = true
3
+ certificate = " test-certificate"
4
+ entity_id = " some-entity-id"
5
+ sign_on_url = " http://other-places.com"
6
+ auto_create = true
7
+ default_root_role = 1
8
+ }
You can’t perform that action at this time.
0 commit comments