terraform-providers / terraform-provider-opc

Terraform Oracle Public Cloud provider
https://www.terraform.io/docs/providers/opc/
Mozilla Public License 2.0
29 stars 25 forks source link

enable trusted certificates #147

Closed scross01 closed 6 years ago

scross01 commented 6 years ago

This PR enables option to create "Trusted" Certificates now that the issue deleting trusted certificated has been resolved.

Acceptance tests enabled for the Trusted Certificate and Trusted Certificate Policy resources:

$ make testacc TEST=./opc TESTARGS="-run=TestAccLBaaSServerCertificate_TrustedCertificate"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./opc -v -run=TestAccLBaaSServerCertificate_TrustedCertificate -timeout 120m
=== RUN   TestAccLBaaSServerCertificate_TrustedCertificate
--- PASS: TestAccLBaaSServerCertificate_TrustedCertificate (13.45s)
PASS
ok      github.com/terraform-providers/terraform-provider-opc/opc   13.460s
$ make testacc TEST=./opc TESTARGS="-run=TestAccLBaaSPolicy_TrustedCertificatePolicy"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./opc -v -run=TestAccLBaaSPolicy_TrustedCertificatePolicy -timeout 120m
=== RUN   TestAccLBaaSPolicy_TrustedCertificatePolicy
--- PASS: TestAccLBaaSPolicy_TrustedCertificatePolicy (859.53s)
PASS
ok      github.com/terraform-providers/terraform-provider-opc/opc   859.540s