diff --git a/README.md b/README.md index a9b6597c..43024452 100644 --- a/README.md +++ b/README.md @@ -326,7 +326,7 @@ Available targets: | [environment](#input\_environment) | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' | `string` | `null` | no | | [exec\_enabled](#input\_exec\_enabled) | Specifies whether to enable Amazon ECS Exec for the tasks within the service | `bool` | `false` | no | | [force\_new\_deployment](#input\_force\_new\_deployment) | Enable to force a new task deployment of the service. | `bool` | `false` | no | -| [github\_oauth\_token](#input\_github\_oauth\_token) | GitHub Oauth Token with permissions to access private repositories | `string` | `""` | no | +| [github\_oauth\_token](#input\_github\_oauth\_token) | Name of the SSM parameter containing a GitHub Oauth Token with permissions to access private repositories | `string` | `""` | no | | [github\_webhook\_events](#input\_github\_webhook\_events) | A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) | `list(string)` |
[| no | | [github\_webhooks\_token](#input\_github\_webhooks\_token) | GitHub OAuth Token with permissions to create webhooks. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable | `string` | `""` | no | | [health\_check\_grace\_period\_seconds](#input\_health\_check\_grace\_period\_seconds) | Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 7200. Only valid for services configured to use load balancers | `number` | `0` | no | diff --git a/docs/terraform.md b/docs/terraform.md index 28542a07..363c6cce 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -171,7 +171,7 @@ | [environment](#input\_environment) | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' | `string` | `null` | no | | [exec\_enabled](#input\_exec\_enabled) | Specifies whether to enable Amazon ECS Exec for the tasks within the service | `bool` | `false` | no | | [force\_new\_deployment](#input\_force\_new\_deployment) | Enable to force a new task deployment of the service. | `bool` | `false` | no | -| [github\_oauth\_token](#input\_github\_oauth\_token) | GitHub Oauth Token with permissions to access private repositories | `string` | `""` | no | +| [github\_oauth\_token](#input\_github\_oauth\_token) | Name of the SSM parameter containing a GitHub Oauth Token with permissions to access private repositories | `string` | `""` | no | | [github\_webhook\_events](#input\_github\_webhook\_events) | A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) | `list(string)` |
"push"
]
[| no | | [github\_webhooks\_token](#input\_github\_webhooks\_token) | GitHub OAuth Token with permissions to create webhooks. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable | `string` | `""` | no | | [health\_check\_grace\_period\_seconds](#input\_health\_check\_grace\_period\_seconds) | Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 7200. Only valid for services configured to use load balancers | `number` | `0` | no | diff --git a/examples/complete/variables.tf b/examples/complete/variables.tf index 4769e7df..02db60eb 100644 --- a/examples/complete/variables.tf +++ b/examples/complete/variables.tf @@ -297,7 +297,7 @@ variable "ecs_security_group_ids" { variable "codepipeline_github_oauth_token" { type = string - description = "GitHub Oauth Token with permissions to access private repositories" + description = "Name of the SSM parameter containing a GitHub Oauth Token with permissions to access private repositories" default = "" } diff --git a/variables.tf b/variables.tf index ccca30eb..065cdd53 100644 --- a/variables.tf +++ b/variables.tf @@ -727,7 +727,7 @@ variable "ecs_private_subnet_ids" { variable "github_oauth_token" { type = string - description = "GitHub Oauth Token with permissions to access private repositories" + description = "Name of the SSM parameter containing a GitHub Oauth Token with permissions to access private repositories" default = "" }
"push"
]