Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added azure resources #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

candace-campbell
Copy link
Owner

Additions

Removals

Updates

Testing Steps

Notes

@candace-campbell candace-campbell force-pushed the ccampbell/onboarding branch 5 times, most recently from 7c32cca to 2d21000 Compare April 20, 2023 17:26
@candace-campbell
Copy link
Owner Author

atlantis plan

@candace-campbell
Copy link
Owner Author

Ran Plan for dir: terraform workspace: default

Plan Error

running "/usr/local/bin/terraform init -input=false -upgrade" in "/root/.atlantis/repos/candace-campbell/azure-hello-world/1/default/terraform": exit status 1
Upgrading modules...
- dev in modules/kubernetes_cluster

Initializing the backend...
╷
│ Error: Failed to get existing workspaces: Error retrieving keys for Storage Account "tfstate1candace": azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/58ff5726-4156-4e39-b50d-ad0ba32ca258/resourceGroups/cdc-coe-candace-campbell/providers/Microsoft.Storage/storageAccounts/tfstate1candace/listKeys?api-version=2021-01-01: StatusCode=401 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app 'b74625b4-d430-46d5-bd83-f639ee099ea5'.\r\nTrace ID: 5a204913-3cae-4f5c-b77d-b5385f0d2800\r\nCorrelation ID: 4c12e886-4542-4128-9c78-5167fdd7f968\r\nTimestamp: 2023-04-27 17:44:27Z","error_codes":[7000215],"timestamp":"2023-04-27 17:44:27Z","trace_id":"5a204913-3cae-4f5c-b77d-b5385f0d2800","correlation_id":"4c12e886-4542-4128-9c78-5167fdd7f968","error_uri":"https://login.microsoftonline.com/error?code=7000215"} Endpoint https://login.microsoftonline.com/1abaa44d-2d93-433d-80c0-74d6809054b2/oauth2/token?api-version=1.0
│ 
│ 
╵


@candace-campbell
Copy link
Owner Author

atlantis apply

@candace-campbell
Copy link
Owner Author

Apply Error

stat /root/.atlantis/repos/candace-campbell/azure-hello-world/1: no such file or directory

@candace-campbell
Copy link
Owner Author

atlantis plan

@candace-campbell
Copy link
Owner Author

Ran Plan for dir: terraform workspace: default

Plan Error

running "/usr/local/bin/terraform init -input=false -upgrade" in "/root/.atlantis/repos/candace-campbell/azure-hello-world/1/default/terraform": exit status 1
Upgrading modules...
- dev in modules/kubernetes_cluster

Initializing the backend...
╷
│ Error: Failed to get existing workspaces: Error retrieving keys for Storage Account "tfstate1candace": storage.AccountsClient#ListKeys: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client '5dfb3b93-ea99-4ca4-88a5-8d745b159042' with object id '5dfb3b93-ea99-4ca4-88a5-8d745b159042' does not have authorization to perform action 'Microsoft.Storage/storageAccounts/listKeys/action' over scope '/subscriptions/58ff5726-4156-4e39-b50d-ad0ba32ca258/resourceGroups/cdc-coe-candace-campbell/providers/Microsoft.Storage/storageAccounts/tfstate1candace' or the scope is invalid. If access was recently granted, please refresh your credentials."
│ 
│ 
╵


@candace-campbell
Copy link
Owner Author

atlantis plan -d terraform

@candace-campbell
Copy link
Owner Author

Ran Plan for dir: terraform workspace: default

Plan Error

running "/usr/local/bin/terraform init -input=false -upgrade" in "/root/.atlantis/repos/candace-campbell/azure-hello-world/1/default/terraform": exit status 1
Upgrading modules...
- dev in modules/kubernetes_cluster

Initializing the backend...
╷
│ Error: Failed to get existing workspaces: Error retrieving keys for Storage Account "tfstate1candace": storage.AccountsClient#ListKeys: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client '5dfb3b93-ea99-4ca4-88a5-8d745b159042' with object id '5dfb3b93-ea99-4ca4-88a5-8d745b159042' does not have authorization to perform action 'Microsoft.Storage/storageAccounts/listKeys/action' over scope '/subscriptions/58ff5726-4156-4e39-b50d-ad0ba32ca258/resourceGroups/cdc-coe-candace-campbell/providers/Microsoft.Storage/storageAccounts/tfstate1candace' or the scope is invalid. If access was recently granted, please refresh your credentials."
│ 
│ 
╵


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant