Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
v0.0.3 Fix vpc configuration updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilenko, Maksim (contracted) authored and Bilenko, Maksim (contracted) committed Jun 30, 2020
1 parent 63170c9 commit c6257fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Once this functionality would be marged to terraform aws provider this repositor
### main.tf
```terraform
provider "synthetics" {
version = "v0.0.2"
version = "v0.0.3"
# assume_role {
# role_arn = var.assume_role_arn
# }
Expand Down Expand Up @@ -47,15 +47,15 @@ resource "synthetics_canary" "terraform-deploy-test" {

```bash
mkdir -p terraform.d/plugins/linux_amd64
wget https://github.com/MaksymBilenko/terraform-provider-aws-synthetics/releases/download/v0.0.2/linux_amd64-terraform-provider-aws-synthetics_v0.0.2 -O terraform.d/plugins/linux_amd64/terraform-provider-synthetics_v0.0.2
chmod +x terraform.d/plugins/linux_amd64/terraform-provider-synthetics_v0.0.2
wget https://github.com/MaksymBilenko/terraform-provider-aws-synthetics/releases/download/v0.0.3/linux_amd64-terraform-provider-aws-synthetics_v0.0.3 -O terraform.d/plugins/linux_amd64/terraform-provider-synthetics_v0.0.3
chmod +x terraform.d/plugins/linux_amd64/terraform-provider-synthetics_v0.0.3
terraform init
```

### Init MacOS
```bash
mkdir -p terraform.d/plugins/darwin_amd64
wget https://github.com/MaksymBilenko/terraform-provider-aws-synthetics/releases/download/v0.0.2/darwin_amd64-terraform-provider-aws-synthetics_v0.0.2 -O terraform.d/plugins/darwin_amd64/terraform-provider-synthetics_v0.0.2
chmod +x terraform.d/plugins/darwin_amd64/terraform-provider-synthetics_v0.0.2
wget https://github.com/MaksymBilenko/terraform-provider-aws-synthetics/releases/download/v0.0.3/darwin_amd64-terraform-provider-aws-synthetics_v0.0.3 -O terraform.d/plugins/darwin_amd64/terraform-provider-synthetics_v0.0.3
chmod +x terraform.d/plugins/darwin_amd64/terraform-provider-synthetics_v0.0.3
terraform init
```
2 changes: 2 additions & 0 deletions synthetics/resource_aws_synthetics_canary.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func resourceAwsSyntheticsCanary() *schema.Resource {
Type: schema.TypeList,
MaxItems: 1,
Optional: true,
ForceNew: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"security_group_ids": {
Expand All @@ -140,6 +141,7 @@ func resourceAwsSyntheticsCanary() *schema.Resource {
},
"vpc_id": {
Type: schema.TypeString,
ForceNew: true,
Computed: true,
},
},
Expand Down

0 comments on commit c6257fa

Please sign in to comment.