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

chore: add Marco Ieni to bastion allowed users #473

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

MarcoIeni
Copy link
Member

No description provided.

@MarcoIeni
Copy link
Member Author

MarcoIeni commented Aug 5, 2024

I got the error

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: Error describing SSM parameter (/prod/bastion/allowed-ips/marcoieni): ParameterNotFound:
│
│   with data.aws_ssm_parameter.allowed_ips["marcoieni"],
│   on firewall.tf line 33, in data "aws_ssm_parameter" "allowed_ips":
│   33: data "aws_ssm_parameter" "allowed_ips" {
│
╵

This probably means I haven't set my ip correctly. I wonder if I set this parameter somewhere else. E.g. in another aws account.

Thanks to atuin, I verified that I ran the command in the /terraform/bastion directory, so it should be correct.

I added the IP again and I verified it with aws ssm get-parameter --name "/prod/bastion/allowed-ips/marcoieni". However, I still get the same error

@MarcoIeni
Copy link
Member Author

MarcoIeni commented Aug 5, 2024

I found out what's the issue. I set the ip in the wrong region. I'll fix the docs.

But it seems the default region is us-west-1. So weird:

$ aws configure get region
us-west-1

EDIT:
my legacy region is different from the default one, that's where the issue comes from D:

docs pr: rust-lang/rust-forge#763

@MarcoIeni MarcoIeni merged commit c009597 into master Aug 5, 2024
6 checks passed
@MarcoIeni MarcoIeni deleted the chore-add-marco-ieni-to-bastion-allowed-users branch August 5, 2024 12:24
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