Skip to content

Commit

Permalink
chore: update for v4.3.0 release [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aps831 committed Jul 28, 2024
1 parent 5dd1ddf commit bf97577
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .latest-release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.2.0
v4.3.0
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@

All notable changes to this project will be documented in this file.

## [4.3.0] - 2024-07-28

### Features

- Use gcloud storage vice gsutil

### Build

- Upgrade trunk

## [4.2.0] - 2024-07-16

### Features

- Revert to using terraform wrote role for gcp

### Miscellaneous Tasks

- Update for v4.2.0 release [skip ci]

### Build

- Upgrade trunk
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This repository provides scripts for bootstrapping buckets (and in the case of G
To initialise an AWS bucket use:

```bash
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.2.0/aws-init.sh | bash -s -- --prefix ${prefix} --project ${project} --profile ${profile} --region ${region} --tag ${tag}
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.3.0/aws-init.sh | bash -s -- --prefix ${prefix} --project ${project} --profile ${profile} --region ${region} --tag ${tag}
```

where
Expand All @@ -23,7 +23,7 @@ Note that the S3 bucket with name `${prefix}-${project}-terraform-state` must be
To cleanup an AWS bucket use:

```bash
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.2.0/aws-cleanup.sh | bash -s -- --prefix ${prefix} --project ${project} --profile ${profile} --region ${region}
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.3.0/aws-cleanup.sh | bash -s -- --prefix ${prefix} --project ${project} --profile ${profile} --region ${region}
```

where
Expand All @@ -38,23 +38,22 @@ region = AWS region (eg eu-west-2)
To initialise a GCP project and bucket use:

```bash
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.2.0/gcp-init.sh | bash -s -- --account ${account} --gcpproject ${gcpproject} --region ${region}
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.3.0/gcp-init.sh | bash -s -- --account ${account} --gcpproject ${gcpproject}
```

where

```text
account = GCP account email address
gcpproject = GCP project name
region = GCP region (eg europe-west2)
```

Note that `gcpproject` and the storage bucket with name `${gcpproject}-terraform-state` must be globally unique.

To cleanup a GCP project and bucket use:

```bash
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.2.0/gcp-cleanup.sh | bash -s -- --gcpproject ${gcpproject}
curl -L https://raw.githubusercontent.com/aps831/terraform-bucket/v4.3.0/gcp-cleanup.sh | bash -s -- --gcpproject ${gcpproject}
```

where
Expand Down

0 comments on commit bf97577

Please sign in to comment.