generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
487 additions
and
54 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
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,5 @@ | ||
$ terraform import cdn77_cdn.example <id> | ||
|
||
# <id> must be the ID (unsigned integer) of the CDN | ||
# Example: | ||
$ terraform import cdn77_cdn.example 1837865409 |
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,26 @@ | ||
$ terraform import cdn77_origin.example <id>,<type>[,type-specific parameters,...] | ||
|
||
# <id> must be the ID (UUID) of the Origin | ||
# <type> must be a type of the Origin (one of: "aws", "object-storage", "url") | ||
# Depending on the type of the origin there may be other required parameters: | ||
|
||
# URL type doesn't need other parameters | ||
$ terraform import cdn77_origin.example <id>,url | ||
|
||
# AWS type requires access key secret | ||
# <aws_access_key_secret> must be the secret of the AWS access key that you provided when creating the Origin | ||
$ terraform import cdn77_origin.example <id>,aws,<aws_access_key_secret> | ||
|
||
# Object Storage type requires ACL, cluster ID, access key ID and access key secret | ||
# <acl> must be ACL type (one of: "authenticated-read", "private", "public-read", "public-read-write") | ||
# <cluster_id> must be an ID (UUID) of the Object Storage cluster | ||
# <access_key_id> must be the ID of the access key that was returned when creating the Origin | ||
# <access_key_secret> must be the secret of the access key that was returned when creating the Origin | ||
$ terraform import cdn77_origin.example <id>,object-storage,<acl>,<cluster_id>,<access_key_id>,<access_key_secret> | ||
|
||
# Examples: | ||
$ terraform import cdn77_origin.example_url 4cd2378b-dec8-49e2-aa17-bf7561452998,url | ||
$ terraform import cdn77_origin.example_aws 4cd2378b-dec8-49e2-aa17-bf7561452998,aws,\ | ||
VWK92izmd7zpY8Khs/Dllv4yLYc4sFWNyg2XtuNF | ||
$ terraform import cdn77_origin.example_object_storage 4cd2378b-dec8-49e2-aa17-bf7561452998,object-storage,\ | ||
private,842b5641-b641-4723-ac81-f8cc286e288f,I17DXFE00GNJZVQUTQPW,7UG7WbcIz4VhZnVxV4XQcDR2X0APApuvthyATf2v |
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,14 @@ | ||
$ terraform import cdn77_ssl.example <id>,<private_key> | ||
|
||
# <id> must be the ID (UUID) of the SSL certificate | ||
# <privateKey> must be an entire private key (including PEM headers) encoded via base64. | ||
# Example: | ||
$ key=$(base64 --wrap=0 key.pem <<EOL | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIHqBB2YZkISl1T5TmmZciLN4cJfJPZ6CDpkLgwTiDVyEoAoGCCqGSM49 | ||
AwEHoUQDQgAE+lmT51fh5oPIAvtPOEvDw4Ct2sKCt1kYhASlD5b62pT2UyXPrRWp | ||
ekd7UQCYC8K86F1OFeupn2DCOnyGCyK8mw== | ||
-----END EC PRIVATE KEY----- | ||
EOL | ||
) | ||
$ terraform import cdn77_ssl.example "4cd2378b-dec8-49e2-aa17-bf7561452998,$key" |
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
Oops, something went wrong.