Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

as3 service discovery not working #49

Open
yossi-r opened this issue Jan 16, 2020 · 2 comments
Open

as3 service discovery not working #49

yossi-r opened this issue Jan 16, 2020 · 2 comments

Comments

@yossi-r
Copy link

yossi-r commented Jan 16, 2020

sending an AS3 declaration with service discovery fails (the declaration is accepted but service discovery fails), i'm getting an error on credentials.
process._tickDomainCallback (internal/process/next_tick.js:218:9)
Thu, 16 Jan 2020 07:21:25 GMT - severe: [f5-service-discovery: getNodes.js] error code: CredentialsError message: Missing credentials in config
Thu, 16 Jan 2020 07:21:25 GMT - info: [f5-service-discovery: Task.js] Task juiceshop6upfFvfNuuPkICupewgkoCsam586w9OjpnQgVXsZU3D failed: Missing credentials in config
Thu, 16 Jan 2020 07:21:25 GMT - fine: [f5-service-discovery: Task.js] CredentialsError: Missing credentials in config
at IncomingMessage. (/var/config/rest/iapps/f5-service-discovery/nodejs/node_modules/aws-sdk/lib/util.js:895:34)

might be related to the IAM setting which i think are different than in the CFT templates.
haven't investigated more than that.

@codygreen
Copy link
Member

codygreen commented Mar 31, 2020

@yossi-r, do you have an example of a correct IAM role I can reference for service discovery? The current IAM role is only for access to the secrets manager.

@yossi-r
Copy link
Author

yossi-r commented Apr 6, 2020

I'm using the following IAM which works (it's copied from our CFT's)
https://gitlab.com/f5-examples/f5-examples-aws/-/blob/master/terraform_modules/aws-bigip/iam.tf

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

No branches or pull requests

2 participants