diff --git a/README.md b/README.md index f9a6e4d..0d58634 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# terraform-aws-girder3 -A Terraform module to provision Girder3 infrastructure on AWS. +# terraform-aws-girder +A Terraform module to provision Girder infrastructure on AWS. This provides an EC2 server, S3 assetstore, and outgoing SMTP credentials. -See [full usage documentation at Terraform Registry](https://registry.terraform.io/modules/girder/girder3/aws). +See [full usage documentation at Terraform Registry](https://registry.terraform.io/modules/girder/girder/aws). ## Note on AWS Email Sending [Every AWS account must explicitly apply to send real emails](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html), @@ -20,5 +20,5 @@ a newly launched server, but will also not trigger the replacement of an existin a different AMI. Use [the `-replace` option](https://developer.hashicorp.com/terraform/cli/commands/plan#replace-address) -with the `module..module.server.aws_instance.server` target (where -`` is the local name of this module) to force the replacement of an existing server. +with the `module..module.server.aws_instance.server` target (where +`` is the local name of this module) to force the replacement of an existing server. diff --git a/examples/basic/main.tf b/examples/basic/main.tf index c9444fe..bfb38b8 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -16,13 +16,13 @@ data "local_file" "ssh_public_key" { # This provides a zero-configuration option for assigning names, # but most projects will want to select a more specific name instead resource "random_pet" "instance_name" { - prefix = "girder3" + prefix = "girder" length = 2 separator = "-" } -module "girder3" { - source = "girder/girder3/aws" +module "girder" { + source = "girder/girder/aws" project_slug = random_pet.instance_name.id route53_zone_id = data.aws_route53_zone.this.zone_id @@ -31,20 +31,20 @@ module "girder3" { } output "server_fqdn" { - value = module.girder3.server_fqdn + value = module.girder.server_fqdn } output "assetstore_bucket_name" { - value = module.girder3.assetstore_bucket_name + value = module.girder.assetstore_bucket_name } output "smtp_host" { - value = module.girder3.smtp_host + value = module.girder.smtp_host } output "smtp_port" { - value = module.girder3.smtp_port + value = module.girder.smtp_port } output "smtp_username" { - value = module.girder3.smtp_username + value = module.girder.smtp_username } output "smtp_password" { - value = module.girder3.smtp_password + value = module.girder.smtp_password }