-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from seanturner026/go-mod-fix
Added null_resource to copy go mod files to top level directory, fixe…
- Loading branch information
Showing
14 changed files
with
179 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Complete Example | ||
|
||
This is a full invocation and provides everything the module has to offer. | ||
|
||
### Cloudfront DNS Example | ||
|
||
This example creates everything which is created by the complete example. However, it does not create ACM or Route53 resources, and uses the default cloudfront DNS and certficate. The Terraform module invocation is not extenable such that it is possible to provide an ACM certificate ARN and alias to utilise non-default cloudfront DNS and certificate. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module "moot" { | ||
source = "github.com/seanturner026/moot.git" | ||
|
||
name = "moot" | ||
admin_user_email = var.admin_user_email | ||
enable_delete_admin_user = false | ||
github_token = var.github_token | ||
gitlab_token = var.gitlab_token | ||
slack_webhook_url = var.slack_webhook_url | ||
enable_api_gateway_access_logs = true | ||
tags = var.tags | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
provider "aws" { | ||
region = "us-east-1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tags = { | ||
name = "moot" | ||
managed_by = "terraform" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
variable "tags" { | ||
type = map(string) | ||
description = "Map of tags to be applied to resources." | ||
} | ||
|
||
variable "admin_user_email" { | ||
type = string | ||
description = <<-DESC | ||
Controls the creation of an admin user that is required to initially gain access to the | ||
dashboard. | ||
If access to the dashboard is completely lost, do the following | ||
• `var.enable_delete_admin_user = true` | ||
• `terraform apply` | ||
• `var.enable_delete_admin_user = false` | ||
• `terraform apply` | ||
If the initial admin user should no longer be able to access the dashboard, revoke access by | ||
setting `var.enable_delete_admin_user = true` and running `terraform apply` | ||
DESC | ||
default = "" | ||
} | ||
|
||
variable "github_token" { | ||
type = string | ||
description = "Token for Github." | ||
} | ||
|
||
variable "gitlab_token" { | ||
type = string | ||
description = "Token for Gitlab." | ||
} | ||
|
||
variable "slack_webhook_url" { | ||
type = string | ||
description = "URL to send slack message payloads to." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters