Comments (4)
FWIW - you can reference the workaround by @sdredsoxfan here to bypass the use of a secret - but would only advise doing so IF you are the only one who has access to your source: #9 (comment)
from valheim-ecs-fargate-cdk.
Hi there! Thanks for using the solution and reaching out. Re: Why Secrets Manager - it is best practice to remove any credentials from source code, and store them in an external solution such as Secrets Manager, Parameter Store, Hashicorp Vault etc. This allows you to rotate them, and share your source code without accidentally sharing your server password. Very interested in your error - care to share it, as well as the configuration for the secret (Name of the secret, key value pair without your password, etc). Happy to help troubleshoot and then revise the docs
from valheim-ecs-fargate-cdk.
Heyo. That's the exact error I was having actually and that's what I ended up doing lol.
As for the secrete creation, I used
aws secretsmanager create-secret --name valheimServerPass --secret-string '{"VALHEIM_SERVER_PASS":"mySuperSecurePassword"}'
When I check secrets manager for it, I see an entry named 'valheimServerPass'. When I go to the details and try to retrieve the secret value, I get '{VALHEIM_SERVER_PASS:mySuperSecurePassword}' (edited of course) for plaintext but the key value tab returns an error (The secret value can't be converted to key name and value pairs).
Hope that helps!
from valheim-ecs-fargate-cdk.
I too had to mane this secret manually instead on the AWS site (filling in the key and value properly) and point the code at that one
from valheim-ecs-fargate-cdk.
Related Issues (20)
- Create a more in-depth Instruction set that allows A-Z spin up HOT 2
- Question: How to connect to the container to download the world backup? HOT 3
- Enhancement: Add option to add an ELB & EIP so server doesn't get a new IP every time HOT 1
- auto-backup of world? HOT 3
- include target group and load balancer at service creation? HOT 3
- Enhancement: Add example GitHub Action and implementation instructions for deploying the server via CI/CD
- Is public ip the only way to connect to your server? HOT 1
- modify adminlist.txt? HOT 2
- Assistance: Modifying Environment after already starting up the server HOT 2
- "Error: EACCES: permission denied, lstat..." when deploying from git bash in Windows HOT 4
- Enhancement: Add example to README on how to access the lambdas HOT 1
- Unable to resolve AWS account to use. It must be either configured when you define your CDK Stack, or through the environment HOT 1
- 'setuptools' distribution was not found HOT 1
- Improve EFS mounting process
- Add monitoring dashboards & metrics HOT 2
- No export named fargateClusterName found HOT 2
- serverstatus and serverstartstop API Gateway Lambda fails HOT 4
- updownstatus API `startstop` endpoint has no effect HOT 1
- What is the best way to suspend/resume server? HOT 21
- Having issue to start Fargate - Stuck on 19/21 HOT 4
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 valheim-ecs-fargate-cdk.