File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ resource "random_string" "random" {
23
23
24
24
resource "codefresh_api_key" "new" {
25
25
account_id = codefresh_account.test.id
26
-
26
+ user_id = data.codefresh_account.test_account_user.user_id
27
27
name = "tfkey_${random_string.random.result}"
28
28
29
29
scopes = [
@@ -66,7 +66,8 @@ resource "codefresh_team" "team_1" {
66
66
## Argument Reference
67
67
68
68
- ` name ` - (Required) The display name for the API key.
69
- - ` account_id ` - (Required) The ID of account than should own the new API key.
69
+ - ` account_id ` - (Required) The ID of account in which the API key will be created.
70
+ - ` user_id ` - (Required) The ID of a user within the referenced ` account_id ` that will own the API key.
70
71
- ` scopes ` - (Optional) A list of access scopes, that can be targeted. The possible values:
71
72
- ` agent `
72
73
- ` agents `
You can’t perform that action at this time.
0 commit comments