Closed KALAKATASUNEETHA closed 1 month ago
can you inspect the result of the secret and check if all the vars (for ex ${APP_ID}
) are replaced correctly? How is the PEM encoded, as single line?
I tried by storing the credentials in json format instead of string as mentioned in the documentation, then resource is synced
{
"app_auth": [
{
"id": "******",
"installation_id": "*******",
"pem_file": "-----BEGIN RSA PRIVATE KEY-----\n**************\n"
}
],
"owner": "****"
}
But status is false since the repository was already exists in the organisation. What we need to do if need to add the team to the already existing repository
I could able to figured it out. Thank you for your response
what was the issue?
Hi, I followed example of creating the secret for github app credentials
When I tried to create the repository resource , its failing with the following error
cannot get terraform setup: cannot unmarshal github credentials as JSON: json: cannot unmarshal string into Go value of type clients.githubConfig