You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to use your own asset instead of downloading latest follow these steps:
99
+
```shell
100
+
terraform apply
101
+
```
103
102
104
-
Place your custom asset in `<your_module_root>/assets/custom-asset.vcl` and then edit your `main.tf` file, and add these 2 variables inside "vcl" module block:
105
-
```terraform
106
-
download_asset = false
107
-
vcl_asset_name = "custom-asset.vcl"
108
-
```
103
+
## Using a custom VCL asset (optional)
104
+
105
+
You can use your own VCL asset instead of downloading the official one:
106
+
107
+
1. Place your custom asset in`<your_module_root>/assets/custom-asset.vcl`
108
+
2. In your `main.tf` file, add these 2 variables to the module configuration:
109
+
110
+
```diff
111
+
module "fingerprint_fastly_vcl_integration" {
112
+
# ...
113
+
+ download_asset = false
114
+
+ vcl_asset_name = "custom-asset.vcl"
115
+
}
116
+
```
117
+
118
+
3. Run `terraform init`.
119
+
4. Run `terraform apply`.
120
+
121
+
## Examples
122
+
123
+
This repository also includes an example Terraform project. Use this example only as a reference, and make sure to follow best practices when provisioning Fastly services:
124
+
125
+
- [Minimal example](./examples/minimal/)
126
+
127
+
## How to update
128
+
129
+
The Terraform module does include any mechanism for automatic updates. To keep your integration up to date, please run `terraform apply` regularly.
0 commit comments