Comments (4)
Hi!
I noticed some code changes a few hours ago related to AWS Authentication, I tested what is here, by pulling the new version of the code and reconfiguring my config.yml
files.
Where 34.215.117.212
is the address of the teamserver that a container image is being requested (cobaltstrike, using the container mappings example.yml updated with the appropriate image location).
skipping: [35.89.8.160]
included: /opt/new-terry-the-terraformer/terry-the-terraformer/playbooks/core/login-to-container-registry.yml for 34.215.117.212
TASK [Install the AWS CLI] *****************************************************
skipping: [34.215.117.212]
TASK [Prepare the container registry URL for parsing] **************************
skipping: [34.215.117.212]
TASK [Extract the AWS Account ID and Region from ECR URL] **********************
skipping: [34.215.117.212]
TASK [Authenticate to the container registry (aws strategy)] *******************
skipping: [34.215.117.212]
TASK [Authenticate to the container registry (default strategy)] ***************
fatal: [34.215.117.212]: FAILED! => {"changed": false, "msg": "Logging into 123456dkr.ecr.us-west-2.amazonaws.com for user AKIA.... failed - 500 Server Error for http+docker://localhost/v1.41/auth: Internal Server Error (\"login attempt to https://123456.dkr.ecr.us-west-2.amazonaws.com/v2/ failed with status: 401 Unauthorized\")"}
My config.yml
looks like this for AWS", which matches your new, updated descriptions: - thank you for those.
Something is still not right, but I am unable to troubleshoot why the login steps are skipped for a host where it is required.
container_registry: 123456.dkr.ecr.us-west-2.amazonaws.com
container_registry_username: AKIA....
container_registry_password: blah....
container_registry_strategy: aws # If using AWS ECR, specify "aws"
from terry-the-terraformer.
Hey! Totally missed the first issue, but I am still in development of support for AWS ECR. I have found a few bugs that still need working out
from terry-the-terraformer.
It looks like the bug you are seeing is exactly the bug I need to fix. Terry will not cascade the value in the config that you have set as aws
to the runtime. I will look into this tonight unless you want to make a PR
from terry-the-terraformer.
Fixed 53a3b05
from terry-the-terraformer.
Related Issues (20)
- Broken Wiki links HOT 2
- DigitalOcean HOT 2
- Redirector names not consistent HOT 1
- Destroy command not working. HOT 1
- Terry checks for container ARGS on destroy, which is dumb
- Refactor how Terry handles the custom objects
- Blue team
- User output HOT 2
- Excessive error message
- Terry output - addition HOT 1
- Not checking for creds in config / cli on destory to pass in as env vars
- wiki examples missing command HOT 3
- document example of remote config for team config HOT 1
- adding mailserver with namecheap domain not working HOT 3
- redirector not created if missing domain HOT 2
- Documentation detailing differences between categorization server and https redirector HOT 1
- redirector server with redirector_type=http doesn't configure server HOT 1
- suggestion: split redirector into multiple server types HOT 3
- "Only root can pass arbitrary filesystem paths" Terraform-Proxmox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terry-the-terraformer.