-
Notifications
You must be signed in to change notification settings - Fork 15
Feat: add project tags support #1084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,32 @@ | ||
| package client | ||
|
|
||
| type Project struct { | ||
| IsArchived bool `json:"isArchived"` | ||
| OrganizationId string `json:"organizationId"` | ||
| UpdatedAt string `json:"updatedAt"` | ||
| CreatedAt string `json:"createdAt"` | ||
| Id string `json:"id"` | ||
| Name string `json:"name"` | ||
| CreatedBy string `json:"createdBy"` | ||
| Role string `json:"role"` | ||
| CreatedByUser User `json:"createdByUser"` | ||
| Description string `json:"description"` | ||
| ParentProjectId string `json:"parentProjectId,omitempty" tfschema:",omitempty"` | ||
| Hierarchy string `json:"hierarchy"` | ||
| IsArchived bool `json:"isArchived"` | ||
| OrganizationId string `json:"organizationId"` | ||
| UpdatedAt string `json:"updatedAt"` | ||
| CreatedAt string `json:"createdAt"` | ||
| Id string `json:"id"` | ||
| Name string `json:"name"` | ||
| CreatedBy string `json:"createdBy"` | ||
| Role string `json:"role"` | ||
| CreatedByUser User `json:"createdByUser"` | ||
| Description string `json:"description"` | ||
| ParentProjectId string `json:"parentProjectId,omitempty" tfschema:",omitempty"` | ||
| Hierarchy string `json:"hierarchy"` | ||
| Tags []string `json:"tags" tfschema:"tags"` | ||
|
||
| } | ||
|
|
||
| type ProjectCreatePayload struct { | ||
| Name string `json:"name"` | ||
| Description string `json:"description"` | ||
| ParentProjectId string `json:"parentProjectId,omitempty"` | ||
| Name string `json:"name"` | ||
| Description string `json:"description"` | ||
| ParentProjectId string `json:"parentProjectId,omitempty"` | ||
| Tags []string `json:"tags"` | ||
| } | ||
|
|
||
| type ProjectUpdatePayload struct { | ||
| Name string `json:"name"` | ||
| Description string `json:"description"` | ||
| Name string `json:"name"` | ||
| Description string `json:"description"` | ||
| Tags []string `json:"tags"` | ||
| } | ||
|
|
||
| type ModuleTestingProject struct { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,3 +38,4 @@ Read-Only: | |
| - `is_archived` (Boolean) | ||
| - `name` (String) | ||
| - `parent_project_id` (String) | ||
| - `tags` (List of String) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| resource "env0_gcp_cloud_configuration" "example" { | ||
| name = "example-gcp-config" | ||
| gcp_project_id = "your-gcp-project-id" | ||
| name = "example-gcp-config" | ||
| gcp_project_id = "your-gcp-project-id" | ||
| credential_configuration_file_content = file("path/to/your-gcp-service-account.json") | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Run
go fmtplease for formattingThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3212304