Skip to content

feat(tofu): Add tofu files and documentation#2

Merged
chris3ware merged 12 commits intomainfrom
week1-prep
Oct 14, 2024
Merged

feat(tofu): Add tofu files and documentation#2
chris3ware merged 12 commits intomainfrom
week1-prep

Conversation

@chris3ware
Copy link
Copy Markdown
Member

@chris3ware chris3ware commented Oct 14, 2024

This pull request adds the terraform files from week 1 of the course with some modifications:

  • Required tofu version and cloud backend for remote state
  • Replace inline security group rules with dedicated resources
  • Add a default security group to the gitops VPC
  • Add default tags to AWS provider

There is a bug in the trunk VSCode extension that is preventing
tflint from starting when AWS credentials are present in the linter
definition.
Current best practice in the provider documentation is to use
`aws_vpc_security_group_egress/ingress_rule` resources.
The AWS session environment variables do not exist in VSCode which
caused TFLint to fail. Setting these values to optional means TFLint
runs in the VSCode extension but deep checking will only run on the CLI
/ CI where these values are set.
terraform files will be checked in the deployment pipeline
@chris3ware chris3ware merged commit 98a2f3c into main Oct 14, 2024
@chris3ware chris3ware deleted the week1-prep branch October 14, 2024 09:54
3ware-release Bot pushed a commit that referenced this pull request Oct 21, 2024
## 1.0.0 (2024-10-21)

### Features

* **terraform:** Add grafana server ([#18](#18)) ([2cc0025](2cc0025))
* **terraform:** Add variables and validation  ([#3](#3)) ([a5d1cf3](a5d1cf3))
* **tofu:** Add tofu files and documentation ([#2](#2)) ([98a2f3c](98a2f3c))

### Enhancement

* **terraform:** Use directories for environment separation ([#15](#15)) ([4a14eff](4a14eff))
@3ware-release
Copy link
Copy Markdown
Contributor

3ware-release Bot commented Oct 21, 2024

This PR is included in version 1.0.0

chris3ware pushed a commit that referenced this pull request Oct 21, 2024
## 1.0.0 (2024-10-21)

### Features

* **terraform:** Add grafana server ([#18](#18)) ([2cc0025](2cc0025))
* **terraform:** Add variables and validation  ([#3](#3)) ([a5d1cf3](a5d1cf3))
* **tofu:** Add tofu files and documentation ([#2](#2)) ([98a2f3c](98a2f3c))

### Enhancement

* **terraform:** Use directories for environment separation ([#15](#15)) ([4a14eff](4a14eff))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant