Skip to content

Commit 3df5d3c

Browse files
committed
Remove import from data source
1 parent 4bcbaee commit 3df5d3c

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

website/docs/d/iam_server_certificate.html.markdown

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,3 @@ This data source exports the following attributes in addition to the arguments a
5151
* `upload_date` is the date when the server certificate was uploaded
5252
* `certificate_body` is the public key certificate (PEM-encoded). This is useful when [configuring back-end instance authentication](http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-create-https-ssl-load-balancer.html) policy for load balancer
5353
* `certificate_chain` is the public key certificate chain (PEM-encoded) if exists, empty otherwise
54-
55-
## Import
56-
57-
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import an IAM server certificate using `name`. For example:
58-
59-
```terraform
60-
import {
61-
to = aws_iam_server_certificate.example
62-
id = "example"
63-
}
64-
```
65-
66-
Using `terraform import`, import an IAM server certificate using `name`. For example:
67-
68-
```console
69-
% terraform import aws_iam_server_certificate.example example
70-
```
71-
72-
Import will read in the certificate body, certificate chain (if it exists), ID, name, path, and ARN. It will not retrieve the private key which is not available through the AWS API.

0 commit comments

Comments
 (0)