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

Environment #7

Merged
merged 32 commits into from
Aug 10, 2024
Merged

Environment #7

merged 32 commits into from
Aug 10, 2024

Conversation

jarrod-lowe
Copy link
Owner

No description provided.

Copy link

github-actions bot commented Aug 3, 2024

Terraform plan in terraform/environment/github

With variables

aws_account = (sensitive value)
aws_region  = "${ap-southeast-2}"
Error: Cannot assume IAM Role
Error: Cannot assume IAM Role

  with provider["registry.terraform.io/hashicorp/aws"],
  on main.tf line 19, in provider "aws":
  19: provider "aws" {

IAM Role (arn:aws:iam::021891603679:role/GitHubAction-Wildsea) cannot be
assumed.

There are a number of possible causes of this - the most common are:
  * The credentials used in order to assume the role are invalid
  * The credentials do not have appropriate permission to assume the role
  * The role ARN is not valid

Error: operation error STS: AssumeRole, https response error StatusCode: 403,
RequestID: 834e7eb2-b4f1-44f5-b347-97e82bc1f413, api error AccessDenied:
User: arn:aws:sts::021891603679:assumed-role/GitHubAction-Wildsea/GitHubTest
is not authorized to perform: sts:AssumeRole on resource:
arn:aws:iam::021891603679:role/GitHubAction-Wildsea

❌ Failed to generate plan in Environment Test #11

Copy link

github-actions bot commented Aug 10, 2024

Terraform plan in terraform/environment/github
With backend config: bucket=terraform-state-021891603679 key=main/terraform.tfstate region=ap-southeast-2

With variables

aws_account  = (sensitive value)
aws_region   = (sensitive value)
environment  = "main"
state_bucket = "terraform-state-021891603679"
Plan: 1 to add, 0 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create

Terraform will perform the following actions:

  # null_resource.test will be created
+   resource "null_resource" "test" {
+       id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

📝 Plan generated in Environment Main - Plan #6

@jarrod-lowe jarrod-lowe merged commit 0695fa6 into main Aug 10, 2024
3 checks passed
@jarrod-lowe jarrod-lowe deleted the work branch August 10, 2024 02:15
jarrod-lowe added a commit that referenced this pull request Aug 10, 2024
* Testing branch protection

* First workflow

* First workflow - fixes

* Pin versions

* Environment

* Create test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow

* more test workflaow
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