Skip to content

Commit

Permalink
Updated images, created spoof values for ssm parameters when a token …
Browse files Browse the repository at this point in the history
…isn't provided
  • Loading branch information
seanturner026 committed May 22, 2021
1 parent 7f157aa commit ac182e8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
Binary file modified assets/repositories.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ locals {
}
github_token = {
description = "Token for Github access."
parameter_value = var.github_token
parameter_value = var.github_token == "" ? 42 : var.github_token
}
gitlab_token = {
description = "Token for Gitlab access."
parameter_value = var.gitlab_token
parameter_value = var.gitlab_token == "" ? 42 : var.gitlab_token
}
slack_webhook_url = {
description = "URL to send slack message payloads to."
parameter_value = var.slack_webhook_url
parameter_value = var.slack_webhook_url == "" ? 42 : var.slack_webhook_url
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "vuejs_frontend" {
source = "github.com/seanturner026/moot-frontend.git?ref=v0.3.0"
source = "github.com/seanturner026/moot-frontend.git?ref=v0.4.0"
}

module "cloudfront" {
Expand Down
2 changes: 1 addition & 1 deletion terraform_examples/complete/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "moot" {
source = "github.com/seanturner026/moot.git?ref=terraform-module"
source = "../../"

name = "moot"
admin_user_email = var.admin_user_email
Expand Down
3 changes: 0 additions & 3 deletions terraform_examples/complete/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ variable "admin_user_email" {
variable "github_token" {
type = string
description = "Token for Github."
default = ""
}

variable "gitlab_token" {
type = string
description = "Token for Gitlab."
default = ""
}

variable "slack_webhook_url" {
type = string
description = "URL to send slack message payloads to."
default = ""
}
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ variable "enable_delete_admin_user" {
variable "github_token" {
type = string
description = "Token for Github."
default = ""
default = "42"
}

variable "gitlab_token" {
type = string
description = "Token for Gitlab."
default = ""
default = "42"
}

variable "slack_webhook_url" {
type = string
description = "URL to send slack message payloads to."
default = ""
default = "42"
}

variable "hosted_zone_name" {
Expand Down

0 comments on commit ac182e8

Please sign in to comment.