mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 17:16:44 +00:00
![Nick Jacques](/assets/img/avatar_default.png)
* Add SSL Policy to provider * Add resource for SSL Policy * Add SSL Policy data source * Add tests for SSL Policy resource * Add documentation for SSL Policy resource * Add SSL Policy datasource docs * Add test for SSL Policy datasource * Update SSL Policy datasource docs * Make full update for SSL Policy resource * SSL Policy resource test multi-attrib update * Clean up SSL Policy datasource * Set-ify custom_features in SSL Policy resource * Document description ForceNew rationale * Remove refs to TLS_1_3 * Update docs: plural -> singular * Remove extraneous attrs from datasource * Fix update logic for custom_features and add enabled_features * Update docs to include enabled_features * Add test for updating to/from custom_features * Add TLS 1.3 bug link * Add import between multi-step test configs * Move Profile and minTlsVersion back into sslPolicy struct
51 lines
1.5 KiB
Markdown
51 lines
1.5 KiB
Markdown
---
|
|
layout: "google"
|
|
page_title: "Google: google_compute_ssl_policy"
|
|
sidebar_current: "docs-google-datasource-compute-ssl-policy"
|
|
description: |-
|
|
Gets an SSL Policy within GCE, for use with Target HTTPS and Target SSL Proxies.
|
|
---
|
|
|
|
# google\_compute\_ssl\_policy
|
|
|
|
Gets an SSL Policy within GCE from its name, for use with Target HTTPS and Target SSL Proxies.
|
|
For more information see [the official documentation](https://cloud.google.com/compute/docs/load-balancing/ssl-policies).
|
|
|
|
## Example Usage
|
|
|
|
```tf
|
|
data "google_compute_ssl_policy" "my-ssl-policy" {
|
|
name = "production-ssl-policy"
|
|
}
|
|
```
|
|
|
|
## Argument Reference
|
|
|
|
The following arguments are supported:
|
|
|
|
* `name` - (Required) The name of the SSL Policy.
|
|
|
|
- - -
|
|
|
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
|
is not provided, the provider project is used.
|
|
|
|
## Attributes Reference
|
|
|
|
In addition to the arguments listed above, the following attributes are exported:
|
|
|
|
* `enabled_features` - The set of enabled encryption ciphers as a result of the policy config
|
|
|
|
* `description` - Description of this SSL Policy.
|
|
|
|
* `min_tls_version` - The minimum supported TLS version of this policy.
|
|
|
|
* `profile` - The Google-curated or custom profile used by this policy.
|
|
|
|
* `custom_features` - If the `profile` is `CUSTOM`, these are the custom encryption
|
|
ciphers supported by the profile. If the `profile` is *not* `CUSTOM`, this
|
|
attribute will be empty.
|
|
|
|
* `fingerprint` - Fingerprint of this resource.
|
|
|
|
* `self_link` - The URI of the created resource. |