Skip to content

Commit eb0de67

Browse files
committed
chore(docs): update
1 parent 2a8536e commit eb0de67

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@ CRA app deployment via Terraform AWS S3, CloudFront, CodePipeline, CodeBuild
1010
- NodeJS 16
1111
- [Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli)
1212

13+
### Terraform install for Apple Silicon
14+
15+
[Reference](https://discuss.hashicorp.com/t/template-v2-2-0-does-not-have-a-package-available-mac-m1/35099/4)
16+
17+
- 1. Remove any existing Terraform binary (/usr/bin/terraform and/or /usr/local/bin/terraform)
18+
- 2. Install [m1-terraform-provider-helper](https://github.com/kreuzwerker/m1-terraform-provider-helper)
19+
- 2.1. `brew install kreuzwerker/taps/m1-terraform-provider-helper`
20+
- 3. Install Terraform
21+
- 3.1. `brew tap hashicorp/tap`
22+
- 3.2. `brew install hashicorp/tap/terraform`
23+
- 4. Install the hashicorp/template version v2.2.0
24+
- 4.1. `m1-terraform-provider-helper activate`
25+
- 4.2. `m1-terraform-provider-helper install hashicorp/template -v v2.2.0`
26+
27+
```
28+
➜ ~ terraform --version
29+
Terraform v1.3.1
30+
on darwin_arm64
31+
+ provider registry.terraform.io/hashicorp/aws v4.33.0
32+
+ provider registry.terraform.io/hashicorp/random v3.4.3
33+
+ provider registry.terraform.io/hashicorp/template v2.2.0
34+
```
1335
### Project
1436

1537
- Create React App
@@ -32,4 +54,12 @@ CRA app deployment via Terraform AWS S3, CloudFront, CodePipeline, CodeBuild
3254

3355
- Check outputs
3456

57+
## CodeStar Connection
58+
59+
GitHub 리포 연결을 위해서는 콘솔에서 직접 연결해야 함. CodePipeline 에서 Setting
60+
61+
`terraform apply` 이후
62+
63+
CodePipeline > Settings > Connections
3564

65+
Status = Pending 인 커넥션 선택 후 `Update pending connection` 으로 Github 연결

0 commit comments

Comments
 (0)