Skip to content

Commit e6c30b4

Browse files
authored
Support Page Resource (#109)
1 parent 185f5fc commit e6c30b4

File tree

16 files changed

+1597
-23
lines changed

16 files changed

+1597
-23
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
run: make setup
3030

3131
acctest:
32+
concurrency:
33+
group: acctest
3234
runs-on: ubuntu-20.04
3335
strategy:
3436
matrix:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ setup:
4040
cd tools && go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
4141

4242
acctest:
43-
TF_ACC=1 PORT_CLIENT_ID=$(PORT_CLIENT_ID) PORT_CLIENT_SECRET=$(PORT_CLIENT_SECRET) go test ./...
43+
TF_ACC=1 PORT_CLIENT_ID=$(PORT_CLIENT_ID) PORT_CLIENT_SECRET=$(PORT_CLIENT_SECRET) go test -p 1 ./...
4444

4545
gen-docs:
4646
tfplugindocs

docs/resources/port_action_permissions.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,6 @@ resource "port_action_permissions" "restart_microservice_permissions" {
184184

185185
- `action_identifier` (String) The ID of the action
186186
- `blueprint_identifier` (String) The ID of the blueprint
187-
188-
### Optional
189-
190187
- `permissions` (Attributes) The permissions for the action (see [below for nested schema](#nestedatt--permissions))
191188

192189
### Read-Only
@@ -196,7 +193,7 @@ resource "port_action_permissions" "restart_microservice_permissions" {
196193
<a id="nestedatt--permissions"></a>
197194
### Nested Schema for `permissions`
198195

199-
Optional:
196+
Required:
200197

201198
- `approve` (Attributes) The permission to approve the action's runs (see [below for nested schema](#nestedatt--permissions--approve))
202199
- `execute` (Attributes) The permission to execute the action (see [below for nested schema](#nestedatt--permissions--execute))

0 commit comments

Comments
 (0)