oci-cloudnative icon indicating copy to clipboard operation
oci-cloudnative copied to clipboard

When using Resource Manager Task it fails when trying to authenticate

Open luissimoesneom opened this issue 3 years ago • 3 comments

Hi,

Authentication is failing on OCI provider. Do I need to specify a TFVARS file with the fingerprint and private_key? Where do we store the private key file?

Thank you

luissimoesneom avatar Aug 11 '22 08:08 luissimoesneom

Can you provide details on how you got this error ? Like how you were trying to set it up. If you click on the deploy button (see below) image

You dont need to provide any TFVARS. If you are running terraform locally, you need to edit terraform.tfvars.example we provide and rename it to terraform.tfvars

jeevanjoseph avatar Aug 11 '22 21:08 jeevanjoseph

You probably have experienced the issue with the Terraform OCI Provider as listed here: https://github.com/oracle/terraform-provider-oci/issues/1650

Try again now as this have been fixed.

junior avatar Aug 11 '22 22:08 junior

My goal was to understand how the user_ocid, fingerprint and private_key_file variables are passed to the OCI Resource Manager Stack.... How is it supposed to authenticate? Do we need to specify those? If so, how?

luissimoesneom avatar Aug 12 '22 08:08 luissimoesneom

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Aug 27 '22 00:08 github-actions[bot]

This issue have been closed for no activity in 25 days

github-actions[bot] avatar Sep 06 '22 00:09 github-actions[bot]

@luissimoesneom the variable is always passed to Resource manager. The authentication is by the user applying the stack

junior avatar Nov 14 '22 16:11 junior