terraform/website/source/docs/providers/aws/d
Paul Stack 43b74cfe79 provider/aws: Support Import of iam_server_certificate (#13065)
* Adding import to resource_aws_iam_server_certificate.

* provider/aws: Update tests for import of aws_iam_server_certificate

Builds upon the work of @mrcopper in #12940

Resource:
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSIAMServerCertificate_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/25 00:08:48 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSIAMServerCertificate_ -timeout 120m
=== RUN   TestAccAWSIAMServerCertificate_importBasic
--- PASS: TestAccAWSIAMServerCertificate_importBasic (22.81s)
=== RUN   TestAccAWSIAMServerCertificate_basic
--- PASS: TestAccAWSIAMServerCertificate_basic (19.68s)
=== RUN   TestAccAWSIAMServerCertificate_name_prefix
--- PASS: TestAccAWSIAMServerCertificate_name_prefix (19.88s)
=== RUN   TestAccAWSIAMServerCertificate_disappears
--- PASS: TestAccAWSIAMServerCertificate_disappears (13.94s)
=== RUN   TestAccAWSIAMServerCertificate_file
--- PASS: TestAccAWSIAMServerCertificate_file (32.67s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	109.062s
```

Data Source:
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSDataSourceIAMServerCertificate_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/25 13:07:10 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSDataSourceIAMServerCertificate_ -timeout 120m
=== RUN   TestAccAWSDataSourceIAMServerCertificate_basic
--- PASS: TestAccAWSDataSourceIAMServerCertificate_basic (43.86s)
=== RUN   TestAccAWSDataSourceIAMServerCertificate_matchNamePrefix
--- PASS: TestAccAWSDataSourceIAMServerCertificate_matchNamePrefix (2.68s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	46.569s
```
2017-03-27 18:49:11 +03:00
..
acm_certificate.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
alb.html.markdown provider/aws: Add aws_alb data source (#10196) 2016-11-21 10:27:44 +02:00
alb_listener.html.markdown provider/aws: Add aws_alb_listener data source (#10181) 2016-11-18 13:01:21 +02:00
ami.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
autoscaling_groups.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
availability_zone.html.markdown Fix typo 'availablity' => 'availability'. 2016-11-23 17:10:18 -05:00
availability_zones.html.markdown provider/aws: availability zone data source 2016-09-24 15:19:33 -07:00
billing_service_account.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
caller_identity.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
canonical_user_id.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
cloudformation_stack.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
db_instance.html.markdown provider/aws: Add address, port, hosted_zone_id and endpoint for aws_db_instance datasource (#12623) 2017-03-13 10:31:24 +02:00
ebs_snapshot.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
ebs_volume.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
ecs_cluster.html.markdown documentation: Add documentation for the ECS Cluster Data Source 2017-02-01 09:51:26 -05:00
ecs_container_definition.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
ecs_task_definition.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
eip.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
elb_hosted_zone_id.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
elb_service_account.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
iam_account_alias.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
iam_policy_document.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
iam_server_certificate.html.markdown provider/aws: Support Import of iam_server_certificate (#13065) 2017-03-27 18:49:11 +03:00
instance.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
ip_ranges.html.markdown Updated list of available services (#12409) 2017-03-03 21:14:10 +02:00
kms_secret.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
partition.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
prefix_list.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
redshift_service_account.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
region.html.markdown provider/aws: aws_region data source 2016-09-24 15:19:33 -07:00
route53_zone.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
route_table.html.markdown provider/aws: Add IPv6 Support to aws_route_table (#12640) 2017-03-14 12:38:25 +02:00
s3_bucket_object.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
security_group.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
sns_topic.html.markdown Fix invalid yaml syntax (#12653) 2017-03-13 16:52:22 +00:00
subnet.html.markdown Data source docs missing `data.` 2016-10-15 06:32:20 +11:00
vpc.html.markdown provider/aws: Add the IPV6 cidr block to the vpc datasource (#12529) 2017-03-08 21:08:37 +02:00
vpc_endpoint.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
vpc_endpoint_service.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
vpc_peering_connection.html.markdown website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
vpn_gateway.html.markdown provider/aws: Document usage for aws_vpn_gateway (#12657) 2017-03-13 21:31:46 +02:00