Skip to content

Commit

Permalink
fix: mark directory as required (#137)
Browse files Browse the repository at this point in the history
chore: update docs
  • Loading branch information
jonmorehouse authored May 21, 2024
1 parent 14d546c commit 71b210a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 17 deletions.
5 changes: 1 addition & 4 deletions docs/resources/app_sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ Sandbox configuration for an app.
Required:

- `branch` (String) The default branch to create new builds from.
- `repo` (String) The https clone url

Optional:

- `directory` (String) The directory the component code is in.
- `repo` (String) The https clone url


<a id="nestedatt--public_repo"></a>
Expand Down
5 changes: 1 addition & 4 deletions docs/resources/docker_build_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@ resource "nuon_docker_build_component" "my_component" {
Required:

- `branch` (String) The default branch to create new builds from.
- `repo` (String) The https clone url

Optional:

- `directory` (String) The directory the component code is in.
- `repo` (String) The https clone url


<a id="nestedblock--env_var"></a>
Expand Down
5 changes: 1 addition & 4 deletions docs/resources/helm_chart_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,8 @@ resource "nuon_helm_chart_component" "my_component" {
Required:

- `branch` (String) The default branch to create new builds from.
- `repo` (String) The https clone url

Optional:

- `directory` (String) The directory the component code is in.
- `repo` (String) The https clone url


<a id="nestedatt--public_repo"></a>
Expand Down
5 changes: 1 addition & 4 deletions docs/resources/terraform_module_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,8 @@ resource "nuon_terraform_module_component" "my_component" {
Required:

- `branch` (String) The default branch to create new builds from.
- `repo` (String) The https clone url

Optional:

- `directory` (String) The directory the component code is in.
- `repo` (String) The https clone url


<a id="nestedblock--env_var"></a>
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/shared_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func connectedRepoAttribute() schema.SingleNestedAttribute {
},
"directory": schema.StringAttribute{
Description: "The directory the component code is in.",
Optional: true,
Required: true,
},
},
}
Expand Down

0 comments on commit 71b210a

Please sign in to comment.