hashicorp / hashicorp/packer-plugin-oracle

oracle-oci builder fails due to missing key_file argument

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
14
Forks
16
PR merge metrics
No merged PRs in 30d

Description

#### Overview of the Issue

The "packer build" did work last month but all of a sudden oracle-oci cannot read key file provided by Oracle cloud.
```
+ packer build -var-file=vars-unstable.json opensearch-image-build-packer.json
Error: Failed to prepare build: "oracle-oci"

5 error(s) occurred:

* 'tenancy_ocid' must be specified
* 'fingerprint' must be specified
* 'user_ocid' must be correctly specified. did not find a proper configuration
for user
* 'security_token_file' must be correctly specified. did not find a proper
configuration for key id
* 'key_file' must be correctly specified. did not find a proper configuration
for private key

```

I see there was a similar issue [#10560](https://github.com/hashicorp/packer/pull/10560). Does it mean it's the time to upgrade oci-go-sdk again? Thanks for any inputs!

### Packer version

1.9.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.