Skip to content

Commit

Permalink
Updated Documentation for Delegate Resource (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
adiyaar24 committed Nov 21, 2023
1 parent 9bc9f08 commit d55f66d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/platform_delegate_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Data Source for retrieving delegate tokens.
## Example Usage

```terraform
data "harness_platform_token" "test" {
data "harness_platform_delegatetoken" "test" {
identifier = "test_token"
name = "test token"
account_id = "account_id"
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/platform_delegate_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ resource "harness_platform_delegatetoken" "test" {
}
# Create token for org level apikey
resource "harness_platform_token" "test" {
resource "harness_platform_delegatetoken" "test" {
identifier = "test_token"
name = "test token"
account_id = "account_id"
org_id = "org_id"
}
# Create token for project level apikey
resource "harness_platform_token" "test" {
resource "harness_platform_delegatetoken" "test" {
identifier = "test_token"
name = "test token"
account_id = "account_id"
Expand Down

0 comments on commit d55f66d

Please sign in to comment.