Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit 059ac6b

Browse files
author
knrt10
committed
docs/packet: Add api_key information
Signed-off-by: knrt10 <kautilya@kinvolk.io>
1 parent c51e9f8 commit 059ac6b

File tree

1 file changed

+4
-0
lines changed
  • docs/configuration-reference/platforms

1 file changed

+4
-0
lines changed

docs/configuration-reference/platforms/packet.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Example configuration file:
2929
```tf
3030
# mycluster.lokocfg
3131
variable "packet_token" {}
32+
variable "api_key" {}
3233
variable "asset_dir" {}
3334
variable "facility" {}
3435
variable "cluster_name" {}
@@ -65,6 +66,8 @@ backend "s3" {
6566
cluster "packet" {
6667
auth_token = var.packet_token
6768
69+
api_key = var.api_key
70+
6871
asset_dir = var.asset_dir
6972
7073
cluster_name = var.cluster_name
@@ -202,6 +205,7 @@ node_type = var.custom_default_worker_type
202205
| Argument | Description | Default | Type | Required |
203206
|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------:|:------------:|:--------:|
204207
| `auth_token` | Packet Auth token. Use the `PACKET_AUTH_TOKEN` environment variable instead. | - | string | false |
208+
| `api_key` | Packet API Key. This is needed for packet-ccm. | - | string | true |
205209
| `asset_dir` | Location where Lokomotive stores cluster assets. | - | string | true |
206210
| `cluster_name` | Name of the cluster. | - | string | true |
207211
| `tags` | List of tags that will be propagated to master nodes. | - | map(string) | false |

0 commit comments

Comments
 (0)