-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #372 from akamai/release/v3.2.0
Release/v3.2.0
- Loading branch information
Showing
165 changed files
with
7,610 additions
and
769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: build | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version-file: 'go.mod' | ||
- name: Prepare env | ||
run: make init | ||
- name: Prepare terraform tools | ||
run: make tools.terraform | ||
- name: Prepare dummy edgerc | ||
run: make dummy-edgerc | ||
- name: Run checks | ||
run: make check | ||
- name: Create build | ||
run: make build | ||
- name: Run tests | ||
run: make test | ||
- name: Run terraform-fmt | ||
run: make terraform-fmt | ||
- name: Run terraform lint | ||
run: make terraform-lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
layout: akamai | ||
subcategory: Property Provisioning | ||
--- | ||
|
||
# akamai_property_include (Beta) | ||
|
||
Use the `akamai_property_include` data source to get details about a specific include. | ||
|
||
## Basic usage | ||
|
||
This example returns details for an include based on contract, group, and include IDs. | ||
|
||
```hcl | ||
data "akamai_property_include" "my_example" { | ||
contract_id = "ctr_1234" | ||
group_id = "grp_5678" | ||
include_id = "inc_9012" | ||
} | ||
output "my_example" { | ||
value = data.akamai_property_include.my_example | ||
} | ||
``` | ||
|
||
## Argument reference | ||
|
||
This data source supports these arguments: | ||
|
||
* `contract_id` - (Required) A contract's unique ID, including the optional `ctr_` prefix. | ||
* `group_id` - (Required) A group's unique ID, including the optional `grp_` prefix. | ||
* `include_id` - (Required) An include's unique ID with the optional `inc_` prefix. | ||
|
||
## Attributes reference | ||
|
||
This data source returns these attributes: | ||
|
||
* `name` - The descriptive name for the include. | ||
* `type` - Specifies the type of the include, either `MICROSERVICES` or `COMMON_SETTINGS`. Use this field for filtering. `MICROSERVICES` allow different teams to work independently on different parts of a single site. `COMMON_SETTINGS` includes are useful for configurations that share a large number of settings, often managed by a central team. | ||
* `latest_version` - Returns the most recent version of the include. | ||
* `staging_version` - The include version currently activated on the staging network. | ||
* `production_version` - The include version currently activated on the production network. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
layout: akamai | ||
subcategory: Property Provisioning | ||
--- | ||
|
||
# akamai_property_include_activation (Beta) | ||
|
||
Use the `akamai_property_include_activation` data source to get activation details for an include on the provided network. | ||
|
||
## Basic usage | ||
|
||
This example returns the include activation on a specified network based on the contract, group, and include IDs. | ||
|
||
```hcl | ||
data "akamai_include_activation" "my_example" { | ||
contract_id = "ctr_1234" | ||
group_id = "grp_5678" | ||
include_id = "inc_9012" | ||
network = "PRODUCTION" | ||
} | ||
output "my_example" { | ||
value = data.akamai_include_activation.my_example | ||
} | ||
``` | ||
|
||
## Argument reference | ||
|
||
This data source supports these arguments: | ||
|
||
* `contract_id` - (Required) A contract's unique ID, including the optional `ctr_` prefix. | ||
* `group_id` - (Required) A group's unique ID, including the optional `grp_` prefix. | ||
* `include_id` - (Required) An include's unique ID with the optional `inc_` prefix. | ||
* `network` - (Required) The Akamai network where you want to check the activation details, either `STAGING` or `PRODUCTION`. `STAGING` is the default. | ||
|
||
## Attributes reference | ||
|
||
This data source returns these attributes: | ||
|
||
* `version` - The version of the activated include. | ||
* `name` - The descriptive name for the property. | ||
* `note` - A log message assigned to the activation request. | ||
* `notify_emails` - The list of email addresses notified when the activation status changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
layout: akamai | ||
subcategory: Property Provisioning | ||
--- | ||
|
||
# akamai_property_include_parents (Beta) | ||
|
||
Use the `akamai_property_include_parents` data source to return a list of parent properties that use the given include. In your property's rule tree, you can reference an include by adding the `include` behavior and specifying the `include_id`. | ||
|
||
## Basic usage | ||
|
||
This example returns all active properties a specific include is referenced in, based on the contract, group, and include IDs. | ||
|
||
```hcl | ||
data "akamai_property_include_parents" "my_example" { | ||
contract_id = "ctr_1-AB123" | ||
group_id = "grp_12345" | ||
include_id = "inc_123456" | ||
} | ||
output "my_example" { | ||
value = data.akamai_property_include_parents.my_example | ||
} | ||
``` | ||
|
||
## Argument reference | ||
|
||
This data source supports these arguments: | ||
|
||
* `contract_id` - (Required) A contract's unique ID, including the optional `ctr_` prefix. | ||
* `group_id` - (Required) A group's unique ID, including the optional `grp_` prefix. | ||
* `include_id` - (Required) An include's unique ID with the optional `inc_` prefix. | ||
|
||
## Attributes reference | ||
|
||
This data source returns these attributes: | ||
|
||
* `parents` - The list of include's parent properties. | ||
* `id` - The property's unique identifier. | ||
* `name` - The descriptive name for the property. | ||
* `staging_version` - The property version currently activated on the staging network. | ||
* `production_version` - The property version currently activated on the production network. | ||
* `is_include_used_in_staging_version` - Whether the specified include is active on the staging network and is referenced in parent's `staging_version`. | ||
* `is_include_used_in_production_version` - Whether the specified include is active on the production network and is referenced in parent's `production_version`. |
Oops, something went wrong.