Skip to content

Commit 8567ad9

Browse files
Merge pull request #3 from fingerprintjs/rc
Release v1.0.0-rc.1
2 parents c529ed3 + 7042df6 commit 8567ad9

File tree

5 files changed

+71
-15
lines changed

5 files changed

+71
-15
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## [1.0.0-rc.3](https://github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2025-08-06)
2+
3+
4+
### Bug Fixes
5+
6+
* change manage_items as manage_entries ([7af2ce6](https://github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration/commit/7af2ce6ddb7d27dd075e50c70967a15ee976215c))
7+
8+
## [1.0.0-rc.2](https://github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2025-08-05)
9+
10+
11+
### Features
12+
13+
* add variable manage_fastly_dictionary_items ([e9bf2f7](https://github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration/commit/e9bf2f700a8d1013dfbb50ecfeb7040537b3198b))
14+
15+
## 1.0.0-rc.1 (2025-07-23)
16+
17+
18+
### Features
19+
20+
* add example ([fc79676](https://github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration/commit/fc7967654aa3a7b152aec5c3cd7e7d865ea90728))
21+
* add trivy and tflint ([3048b90](https://github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration/commit/3048b90e918dfb541cc7ef0ca08f3c1beacb2874))
22+
23+
24+
### Bug Fixes
25+
26+
* trigger initial release ([3a95e0d](https://github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration/commit/3a95e0d1c73c1b5b7d12328a56f9de32d5849edd))

CONTRIBUTING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,24 @@ To test terraform module using Fingerprint's staging environment, you need to [c
6161
```
6262
- [Use your own custom asset](./README.md#custom-vcl) to deploy your integration
6363

64+
## Using Release Candidates
65+
66+
To use a release candidate version of the module, specify it explicitly in the version field:
67+
68+
```terraform
69+
module "fingerprint_fastly_vcl_integration" {
70+
source = "fingerprintjs/vcl-fingerprint-proxy-integration/fastly"
71+
version = "1.0.0-rc.1"
72+
# Other module inputs
73+
}
74+
```
75+
76+
Alternatively, you can point directly to the GitHub repository and use a branch (e.g., `rc`) via the ref parameter.
77+
This ensures you're always using the latest commit from that branch:
78+
79+
```terraform
80+
module "fingerprint_fastly_vcl_integration" {
81+
source = "github.com/fingerprintjs/terraform-fastly-vcl-fingerprint-proxy-integration?ref=rc"
82+
# Other module inputs
83+
}
84+
```

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ terraform {
5252
}
5353
5454
module "fingerprint_fastly_vcl_integration" {
55-
source = "github.com/fingerprintjs/temp-fastly-vcl-terraform"
55+
source = "fingerprintjs/vcl-fingerprint-proxy-integration/fastly"
5656
fastly_api_token = "FASTLY_API_TOKEN"
5757
proxy_secret = "FINGERPRINT_PROXY_SECRET"
5858
integration_path = "INTEGRATION_PATH"
@@ -65,20 +65,21 @@ module "fingerprint_fastly_vcl_integration" {
6565

6666
You can see the full list of the Terraform module's variables below:
6767

68-
| Variable | Description | Required | Example |
69-
| ---------------------------- | --------------------------------------------------------- | -------- | ---------------------------------------------- |
70-
| `fastly_api_token` | Your Fastly API token | Required | `"ABC123...xyz"` |
71-
| `proxy_secret` | Your Fingerprint proxy secret | Required | `"9h7jk2s1"` |
72-
| `integration_path` | Path prefix for proxy requests | Required | `"kyfy7t0a"` |
73-
| `agent_script_download_path` | Path for serving the JavaScript agent | Required | `"cc7bu2o8"` |
74-
| `get_result_path` | Path for identification requests | Required | `"sy5k3279"` |
75-
| `integration_domain` | Domain used for the proxy integration | Required | `"metrics.yourwebsite.com"` |
76-
| `main_host` | Your origin server domain | Required | `"yourwebsite.com"` |
77-
| `dictionary_name` | Name of the Fastly Dictionary for config values | Optional | `"fingerprint_config"` |
78-
| `integration_name` | Name of the Fastly CDN service | Optional | `"fingerprint-fastly-vcl-proxy-integration"` |
79-
| `download_asset` | Whether to auto-download the latest VCL release | Optional | `true` |
80-
| `vcl_asset_name` | Custom VCL asset file if not downloading the official one | Optional | `"fingerprint-pro-fastly-vcl-integration.vcl"` |
81-
| `asset_version` | GitHub release version used for the VCL asset | Optional | `"latest"` |
68+
| Variable | Description | Required | Example |
69+
|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|------------------------------------------------|
70+
| `fastly_api_token` | Your Fastly API token | Required | `"ABC123...xyz"` |
71+
| `proxy_secret` | Your Fingerprint proxy secret | Required | `"9h7jk2s1"` |
72+
| `integration_path` | Path prefix for proxy requests | Required | `"kyfy7t0a"` |
73+
| `agent_script_download_path` | Path for serving the JavaScript agent | Required | `"cc7bu2o8"` |
74+
| `get_result_path` | Path for identification requests | Required | `"sy5k3279"` |
75+
| `integration_domain` | Domain used for the proxy integration | Required | `"metrics.yourwebsite.com"` |
76+
| `main_host` | Your origin server domain | Required | `"yourwebsite.com"` |
77+
| `dictionary_name` | Name of the Fastly Dictionary for config values | Optional | `"fingerprint_config"` |
78+
| `integration_name` | Name of the Fastly CDN service | Optional | `"fingerprint-fastly-vcl-proxy-integration"` |
79+
| `download_asset` | Whether to auto-download the latest VCL release | Optional | `true` |
80+
| `vcl_asset_name` | Custom VCL asset file if not downloading the official one | Optional | `"fingerprint-pro-fastly-vcl-integration.vcl"` |
81+
| `asset_version` | GitHub release version used for the VCL asset | Optional | `"latest"` |
82+
| `manage_fastly_dictionary_items` | Manage Fastly Dictionary items via terraform, see [Fastly documentation](https://registry.terraform.io/providers/fastly/fastly/latest/docs/resources/service_dictionary_items#manage_items-1) | Optional | `false` |
8283

8384
## 2. Deploy your Terraform changes
8485

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ resource "fastly_service_vcl" "fingerprint_integration" {
6161
resource "fastly_service_dictionary_items" "fingerprint_integration_dictionary_items" {
6262
service_id = fastly_service_vcl.fingerprint_integration.id
6363
dictionary_id = local.selected_dictionary.dictionary_id
64+
manage_items = var.manage_fastly_dictionary_items
6465
items = {
6566
PROXY_SECRET : var.proxy_secret,
6667
INTEGRATION_PATH : var.integration_path,

variables.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ variable "dictionary_name" {
8181
}
8282
}
8383

84+
variable "manage_fastly_dictionary_items" {
85+
type = bool
86+
default = false
87+
nullable = false
88+
description = "Manage Fastly Dictionary items via terraform, see link: https://registry.terraform.io/providers/fastly/fastly/latest/docs/resources/service_dictionary_items#manage_items-1"
89+
}
90+
8491
variable "integration_name" {
8592
type = string
8693
default = "fingerprint-fastly-vcl-proxy-integration"

0 commit comments

Comments
 (0)