-
Notifications
You must be signed in to change notification settings - Fork 709
Open
Labels
In-ProgressTerraform Team is working on the reproduce & fixTerraform Team is working on the reproduce & fixbug
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version and Provider Version
Terraform v1.0.9
on darwin_amd64
+ provider registry.terraform.io/hashicorp/oci v4.50.0
Affected Resource(s)
affected_resources = oci_certificates_management_certificate
Terraform Configuration Files
resource "oci_certificates_management_certificate" "the_certificate" {
certificate_config {
config_type = "IMPORTED"
cert_chain_pem = var.cert_chain_pem
certificate_pem = var.certificate_pem
private_key_pem = var.private_key_pem
}
compartment_id = var.compartment_id
name = var.name
}
Debug Output
│ Error: Unsupported argument
│
│ on certs.tf line 4, in resource "oci_certificates_management_certificate" "the_certificate":
│ 4: cert_chain_pem = var.cert_chain_pem
│
│ An argument named "cert_chain_pem" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on certs.tf line 5, in resource "oci_certificates_management_certificate" "the_certificate":
│ 5: certificate_pem = var.certificate_pem
│
│ An argument named "certificate_pem" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on certs.tf line 6, in resource "oci_certificates_management_certificate" "the_certificate":
│ 6: private_key_pem = var.private_key_pem
│
│ An argument named "private_key_pem" is not expected here.
Panic Output
Expected Behavior
- I expect IMPORTED certificate script to process properly and create a certificate resource
Actual Behavior
- Certificate with
config_type="IMPORTED"
throws error as shown above
Steps to Reproduce
terraform plan
Important Factoids
References
dcrn, gtarases, riyaz-sk, dave-i-am, glynjackson and 23 more
Metadata
Metadata
Assignees
Labels
In-ProgressTerraform Team is working on the reproduce & fixTerraform Team is working on the reproduce & fixbug