Skip to content

Commit

Permalink
Merge pull request #179 from Edgio/SAS-1825
Browse files Browse the repository at this point in the history
[SAS-1825] DNS Resource & Documentation Updates
  • Loading branch information
wdawg33 authored Oct 10, 2023
2 parents 585d290 + 81e5187 commit 76ffcaf
Show file tree
Hide file tree
Showing 59 changed files with 121 additions and 158 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ unit-tests/**/credential_ucc.json
.terraform/*
**/*.copy
docs_current/
/*.tf
/*.tfvars
/*.tfstate

.idea
.env
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOSTNAME=github.com
NAMESPACE=terraform-providers
NAME=edgecast
BINARY=terraform-provider-${NAME}
VERSION=1.3.3
VERSION=1.3.4
OS_ARCH=darwin_amd64

default: install
Expand Down
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Reference this provider in a Terraform Configuration file (e.g. `main.tf`):
terraform {
required_providers {
edgecast = {
version = "1.3.3"
version = "1.3.4"
source = "Edgio/edgecast"
}
}
Expand Down Expand Up @@ -121,7 +121,7 @@ Example:
terraform {
required_providers {
edgecast = {
version = "1.3.3"
version = "1.3.4"
source = "Edgio/edgecast"
}
}
Expand Down Expand Up @@ -195,11 +195,6 @@ for more details on the type of token required, and how to acquire a token.
Please refer to [the contributing.md file](Contributing.md) for information
about how to get involved. We welcome issues, questions, and pull requests.

## Maintainers
- Steven Paz: steven.paz@edgecast.com
- Shikha Saluja: shikha.saluja@edgecast.com
- Frank Contreras: frank.contreras@edgecast.com

## License
This project is licensed under the terms of the [Apache 2.0](LICENSE) open
source license.
Expand All @@ -215,4 +210,4 @@ their inputs and outputs.

[Examples](https://github.com/EdgeCast/terraform-provider-edgecast/tree/Master/examples) - Examples to get started can be found here.

[Submit an Issue](https://github.com/EdgeCast/terraform-provider-edgecast/issues) - Found a bug? Want to request a feature? Please do so here.
Found a bug? Want to request a feature? Please [contact us](https://www.edg.io/contact-support/).
2 changes: 1 addition & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vars:
NAMESPACE: terraform-providers
NAME: edgecast
BINARY: terraform-provider-{{.NAME}}
VERSION: 1.3.3
VERSION: 1.3.4


includes:
Expand Down
99 changes: 41 additions & 58 deletions docs/resources/cps_certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,24 +149,24 @@ resource "edgecast_cps_certificate" "certificate_2" {
Describes the certificate request's organization.

->Do not specify an organization for DV certificates. (see [below for nested schema](#nestedblock--organization))
- `validation_status` (Block Set) Retrieve status information for your certificate request. This includes certificate request status, certificate order status, organization validation status, and domain control validation (DCV) status. (see [below for nested schema](#nestedblock--validation_status))

### Read-Only

- `created` (String) Indicates the timestamp at which this request for a certificate was initially submitted.
**Syntax:** *YYYY*-*MM*-*DD*T*hh*:*mm*:*ss*.*ffffff*Z
- `created_by` (Block Set) Describes the user that submitted this certificate request. (see [below for nested schema](#nestedblock--created_by))
- `deployments` (Block Set) Returns a null value. (see [below for nested schema](#nestedblock--deployments))
- `created_by` (Set of Object) Describes the user that submitted this certificate request. (see [below for nested schema](#nestedatt--created_by))
- `deployments` (Set of Object) Returns a null value. (see [below for nested schema](#nestedatt--deployments))
- `expiration_date` (String) Indicates the timestamp at which this certificate will expire.
**Syntax:** *YYYY*-*MM*-*DD*T*hh*:*mm*:*ss*.*ffffff*Z
If the Certificate Authority (CA) is still processing the certificate request, then this argument returns the following timestamp:
`0001-01-01T00:00:00Z`
- `id` (String) Indicates the system-defined ID assigned to this certificate.
- `last_modified` (String) Indicates the timestamp at which this request for a certificate was last modified.
**Syntax:** *YYYY*-*MM*-*DD*T*hh*:*mm*:*ss*.*ffffff*Z
- `modified_by` (Block Set) Returns a null value. (see [below for nested schema](#nestedblock--modified_by))
- `modified_by` (Set of Object) Returns a null value. (see [below for nested schema](#nestedatt--modified_by))
- `request_type` (String) Returns `Enterprise`.
- `thumbprint` (String) Returns a null value.
- `validation_status` (Set of Object) Retrieve status information for your certificate request. This includes certificate request status, certificate order status, organization validation status, and domain control validation (DCV) status. (see [below for nested schema](#nestedatt--validation_status))
- `workflow_error_message` (String) Returns a null value.

<a id="nestedblock--domain"></a>
Expand Down Expand Up @@ -280,91 +280,74 @@ Sets the title of the current contact.



<a id="nestedblock--validation_status"></a>
### Nested Schema for `validation_status`

Optional:

- `order_validation` (Block Set) Describes order status information for this certificate request. (see [below for nested schema](#nestedblock--validation_status--order_validation))
<a id="nestedatt--created_by"></a>
### Nested Schema for `created_by`

Read-Only:

- `error_message` (String) Indicates the reason why an error occurred. Returns a null value if an error has not occurred.
- `requires_attention` (Boolean) Indicates whether this certificate request requires your attention before it can proceed to the next step.
- `status` (String) Indicates the status for this certificate request.
- `step` (Number) Indicates the order's current step in the certificate provisioning workflow.
**Example:**
This argument returns `3` when a certificate order is currently in step 3. Domain Validation (DCV).

<a id="nestedblock--validation_status--order_validation"></a>
### Nested Schema for `validation_status.order_validation`
- `identity_id` (String)
- `identity_type` (String)
- `portal_type_id` (String)
- `user_id` (Number)

Optional:

- `domain_validation` (Block List) Contains the domains associated with this certificate request and their current Domain Control Validation (DCV) status. (see [below for nested schema](#nestedblock--validation_status--order_validation--domain_validation))
<a id="nestedatt--deployments"></a>
### Nested Schema for `deployments`

Read-Only:

- `organization_validation` (Block Set) Describes the requested certificate's validation level and its status. (see [below for nested schema](#nestedblock--validation_status--order_validation--organization_validation))
- `status` (String) Indicates the status for this certificate order.
- `delivery_region` (String)
- `hex_url` (String)
- `platform` (String)

<a id="nestedblock--validation_status--order_validation--domain_validation"></a>
### Nested Schema for `validation_status.order_validation.domain_validation`

Optional:

- `domain_names` (List of String) Indicates the domain name.
<a id="nestedatt--modified_by"></a>
### Nested Schema for `modified_by`

Read-Only:

- `status` (String) Indicates the current Domain Control Validation (DCV) status for the domain identified within the `domain_names` list.

-> Use the [edgecast_cps_validation_statuses data source](../data-sources/cps_validation_statuses) to retrieve a list of Domain Control Validation (DCV) statuses.
- `identity_id` (String)
- `identity_type` (String)
- `portal_type_id` (String)
- `user_id` (Number)


<a id="nestedblock--validation_status--order_validation--organization_validation"></a>
### Nested Schema for `validation_status.order_validation.organization_validation`
<a id="nestedatt--validation_status"></a>
### Nested Schema for `validation_status`

Read-Only:

- `status` (String) Indicates the organization validation status for EV and OV certificates. Returns `NA` for DV certificates.

-> Use the [edgecast_cps_validation_statuses data source](../data-sources/cps_validation_statuses) to retrieve a list of organization validation statuses.
- `validation_type` (String) Indicates the validation level for the requested certificate.

- `error_message` (String)
- `order_validation` (Set of Object) (see [below for nested schema](#nestedobjatt--validation_status--order_validation))
- `requires_attention` (Boolean)
- `status` (String)
- `step` (Number)



<a id="nestedblock--created_by"></a>
### Nested Schema for `created_by`
<a id="nestedobjatt--validation_status--order_validation"></a>
### Nested Schema for `validation_status.order_validation`

Read-Only:

- `identity_id` (String) Reserved for future use.
- `identity_type` (String) Reserved for future use. [ User, Client ]
- `portal_type_id` (String) Reserved for future use. [ Customer, Partner, Wholesaler, Uber, OpenCdn ]
- `user_id` (Number) Reserved for future use.

- `domain_validation` (List of Object) (see [below for nested schema](#nestedobjatt--validation_status--order_validation--domain_validation))
- `organization_validation` (Set of Object) (see [below for nested schema](#nestedobjatt--validation_status--order_validation--organization_validation))
- `status` (String)

<a id="nestedblock--deployments"></a>
### Nested Schema for `deployments`
<a id="nestedobjatt--validation_status--order_validation--domain_validation"></a>
### Nested Schema for `validation_status.order_validation.domain_validation`

Read-Only:

- `delivery_region` (String) Indicates the name of the delivery region to which this certificate was deployed.
- `hex_url` (String) Indicates the CDN domain through which requests for this certificate will be routed.
- `platform` (String) Identifies the delivery platform (e.g., `HttpLarge`) associated with this certificate.
- `domain_names` (List of String)
- `status` (String)


<a id="nestedblock--modified_by"></a>
### Nested Schema for `modified_by`
<a id="nestedobjatt--validation_status--order_validation--organization_validation"></a>
### Nested Schema for `validation_status.order_validation.organization_validation`

Read-Only:

- `identity_id` (String) Reserved for future use.
- `identity_type` (String) Reserved for future use. [ User, Client ]
- `portal_type_id` (String) Reserved for future use. [ Customer, Partner, Wholesaler, Uber, OpenCdn ]
- `user_id` (Number) Reserved for future use. [ User, Client ]
- `status` (String)
- `validation_type` (String)

## Import Resource
Manage an existing TLS certificate through Terraform by importing it as a resource. Perform the following steps:
Expand Down
12 changes: 6 additions & 6 deletions docs/resources/dns_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ Required:
Please refer to the following URL for additional
information:
https://developer.edgecast.com/cdn/api/Content/Media_Management/DNS/Get_A_HC_Types.htm
- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `email_notification_address` (String) Defines the e-mail address to which
health check notifications will be sent.
- `failed_check_threshold` (Number) Defines the number of consecutive
Expand All @@ -238,6 +236,8 @@ Required:

Optional:

- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `http_method_id` (Number) Defines an HTTP method by its
system-defined ID. An HTTP method is only used by
HTTP/HTTPs health checks. Supported values are:
Expand Down Expand Up @@ -335,8 +335,6 @@ Required:
Please refer to the following URL for additional
information:
https://developer.edgecast.com/cdn/api/Content/Media_Management/DNS/Get_A_HC_Types.htm
- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `email_notification_address` (String) Defines the e-mail address to which
health check notifications will be sent.
- `failed_check_threshold` (Number) Defines the number of consecutive
Expand All @@ -348,6 +346,8 @@ Required:

Optional:

- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `http_method_id` (Number) Defines an HTTP method by its
system-defined ID. An HTTP method is only used by
HTTP/HTTPs health checks. Supported values are:
Expand Down Expand Up @@ -445,8 +445,6 @@ Required:
Please refer to the following URL for additional
information:
https://developer.edgecast.com/cdn/api/Content/Media_Management/DNS/Get_A_HC_Types.htm
- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `email_notification_address` (String) Defines the e-mail address to which
health check notifications will be sent.
- `failed_check_threshold` (Number) Defines the number of consecutive
Expand All @@ -458,6 +456,8 @@ Required:

Optional:

- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `http_method_id` (Number) Defines an HTTP method by its
system-defined ID. An HTTP method is only used by
HTTP/HTTPs health checks. Supported values are:
Expand Down
12 changes: 6 additions & 6 deletions docs/resources/dns_zone.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,6 @@ Required:
4 - TCP SSL. Please refer to the following URL for
additional information:
https://developer.edgecast.com/cdn/api/Content/Media_Management/DNS/Get_A_HC_Types.htm
- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `email_notification_address` (String) Defines the e-mail address to which
health check notifications will be sent.
- `failed_check_threshold` (Number) Defines the number of consecutive
Expand All @@ -295,6 +293,8 @@ Required:

Optional:

- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `http_method_id` (Number) Defines an HTTP method by its
system-defined ID. An HTTP method is only used by
HTTP/HTTPs health checks. Supported values are:
Expand Down Expand Up @@ -394,8 +394,6 @@ Required:
4 - TCP SSL. Please refer to the following URL for
additional information:
https://developer.edgecast.com/cdn/api/Content/Media_Management/DNS/Get_A_HC_Types.htm
- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `email_notification_address` (String) Defines the e-mail address to which
health check notifications will be sent.
- `failed_check_threshold` (Number) Defines the number of consecutive
Expand All @@ -409,6 +407,8 @@ Required:

Optional:

- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `http_method_id` (Number) Defines an HTTP method by its
system-defined ID. An HTTP method is only used by
HTTP/HTTPs health checks. Supported values are:
Expand Down Expand Up @@ -508,8 +508,6 @@ Required:
4 - TCP SSL. Please refer to the following URL for
additional information:
https://developer.edgecast.com/cdn/api/Content/Media_Management/DNS/Get_A_HC_Types.htm
- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `email_notification_address` (String) Defines the e-mail address to which
health check notifications will be sent.
- `failed_check_threshold` (Number) Defines the number of consecutive
Expand All @@ -523,6 +521,8 @@ Required:

Optional:

- `content_verification` (String) Defines the text that will be used to
verify the success of the health check.
- `http_method_id` (Number) Defines an HTTP method by its
system-defined ID. An HTTP method is only used by
HTTP/HTTPs health checks. Supported values are:
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/waf_botmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This resource requires a [REST API token](../guides/authentication#rest-api-toke
resource "edgecast_waf_botmanager" "botmanager_1" {
customer_id = "ABCDE"
name = "My Bot Manager updated"
name = "My Bot Manager"
bots_prod_id = "123bot1" # Must be an existing production Bot Rule
actions {
alert{
Expand Down
Loading

0 comments on commit 76ffcaf

Please sign in to comment.