-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdced22
commit 7c09950
Showing
8 changed files
with
157 additions
and
7 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## [August 16, 2024](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.2.3...v1.2.6) | ||
### Feature | ||
- add opslevel_service_dependencies datasource | ||
- opslevel_users datasource can filter out deactivated users |
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "opslevel_service_dependencies Data Source - terraform-provider-opslevel" | ||
subcategory: "" | ||
description: |- | ||
Service Dependencies data source | ||
--- | ||
|
||
# opslevel_service_dependencies (Data Source) | ||
|
||
Service Dependencies data source | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "opslevel_service" "foo" { | ||
alias = "foo" | ||
} | ||
data "opslevel_service" "bar" { | ||
id = "Z2lkOi8vb3BzbGV2ZWwvU2VydmljZS84Njcw" | ||
} | ||
data "opslevel_service_dependencies" "by_alias" { | ||
service = data.opslevel_service.foo.alias | ||
} | ||
data "opslevel_service_dependencies" "by_id" { | ||
service = data.opslevel_service.bar.id | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `service` (String) The ID or alias of the service with the dependency. | ||
|
||
### Read-Only | ||
|
||
- `dependencies` (Attributes List) List of Service Dependencies of a service (see [below for nested schema](#nestedatt--dependencies)) | ||
- `dependents` (Attributes List) List of Service Dependents of a service (see [below for nested schema](#nestedatt--dependents)) | ||
|
||
<a id="nestedatt--dependencies"></a> | ||
### Nested Schema for `dependencies` | ||
|
||
Optional: | ||
|
||
- `notes` (String) Notes for service dependency. | ||
|
||
Read-Only: | ||
|
||
- `id` (String) The ID of the service dependency. | ||
- `locked` (Boolean) Is the dependency locked by a service config? | ||
|
||
|
||
<a id="nestedatt--dependents"></a> | ||
### Nested Schema for `dependents` | ||
|
||
Optional: | ||
|
||
- `notes` (String) Notes for service dependency. | ||
|
||
Read-Only: | ||
|
||
- `id` (String) The ID of the service dependency. | ||
- `locked` (Boolean) Is the dependency locked by a service config? | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "opslevel_integration_google_cloud Resource - terraform-provider-opslevel" | ||
subcategory: "" | ||
description: |- | ||
Google Cloud Integration resource | ||
--- | ||
|
||
# opslevel_integration_google_cloud (Resource) | ||
|
||
Google Cloud Integration resource | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "opslevel_integration_google_cloud" "dev" { | ||
client_email = "hello-world-tf@powerful-surf-427415-v1.iam.gserviceaccount.com" | ||
name = "GCP Dev Integration" | ||
ownership_tag_keys = ["opslevel_team", "team", "owner"] | ||
ownership_tag_overrides = true | ||
private_key = <<EOH | ||
-----BEGIN PRIVATE KEY----- | ||
<private key body here> | ||
-----END PRIVATE KEY----- | ||
EOH | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `client_email` (String) The service account email OpsLevel uses to access the Google Cloud account. | ||
- `name` (String) The name of the integration. | ||
- `private_key` (String, Sensitive) The private key for the service account that OpsLevel uses to access the Google Cloud account. | ||
|
||
### Optional | ||
|
||
- `ownership_tag_keys` (List of String) An Array of tag keys used to associate ownership from an integration. Max 5 (default = ["owner"]) | ||
- `ownership_tag_overrides` (Boolean) Allow tags imported from Google Cloud to override ownership set in OpsLevel directly. (default = true) | ||
|
||
### Read-Only | ||
|
||
- `aliases` (List of String) All of the aliases attached to the integration. | ||
- `created_at` (String) The time this integration was created. | ||
- `id` (String) The ID of the integration. | ||
- `installed_at` (String) The time that this integration was successfully installed, if null, this indicates the integration was not completely installed. | ||
- `projects` (List of Object) A list of the Google Cloud projects that were imported by the integration. (see [below for nested schema](#nestedatt--projects)) | ||
|
||
<a id="nestedatt--projects"></a> | ||
### Nested Schema for `projects` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) | ||
- `name` (String) | ||
- `url` (String) | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import opslevel_integration_google_cloud.example Z2lkOi8vb3BzbGV2ZWwvU2VydmljZS82MDI0 | ||
``` |
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