Skip to content

Commit

Permalink
Merge pull request #187 from ministryofjustice/update-aws-provider
Browse files Browse the repository at this point in the history
chore: 🤖remove aws provider version, fix output syntax
  • Loading branch information
sj-williams authored Nov 29, 2024
2 parents 658a5b8 + 4143d38 commit 7e7c4a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,13 @@ Instructions on how to do this are available [here](https://user-guide.cloud-pla
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.2.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.0.0 |
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.0.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0.0 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion examples/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "aws" {
region = "eu-west-2"
}
}
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ output "rds_instance_port" {

output "database_name" {
description = "Name of the database"
value = aws_db_instance.rds.name
value = aws_db_instance.rds.db_name
}

output "database_username" {
Expand Down
3 changes: 1 addition & 2 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ terraform {
required_version = ">= 1.2.5"
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.0.0"
source = "hashicorp/aws"
}
random = {
source = "hashicorp/random"
Expand Down

0 comments on commit 7e7c4a1

Please sign in to comment.