Hello everyone, good day! I am trying to move [`"...
# troubleshooting
l
Hello everyone, good day! I am trying to move [
"account_id", "external_id", "role_name", "region_name"]
of tap-dynamodb from meltano.yml file to .env file, but found it is actually having no effects. it is showing errors like missing required_config_keys[
"account_id", "external_id", "role_name", "region_name"
]. Just wonder is this supported in tap-dynamodb or did i miss something to achieve this? Thanks! 🙏
e
HI @lin_liu. What does your
meltano.yml
look like? (You may be declaring config but not settings, so the values are not picked up from
.env
)
l
Hi @edgar_ramirez_mondragon, these configs are working fine in my meltano.yml, which looks like:
e
@lin_liu what about the parent plugin
tap-dynamodb
? is that defined in
meltano.yml
?
l
yes 👍
sorry, wanna double check, you are saying that I need to declare these configs in advance in meltano.yml first, then these values can be picked up from .env?
since this is a bit different to tap-postgres we are using, seems like it is working all good without this declaring step 🤔
e
Ok, so you need to declare
settings
for the parent plugin
tap-dynamodb
. For example:
Copy code
- name: tap-dynamodb
  settings:
  - name: acount_id
  - name: external_id
  - name: role_name
  - name: region_name
  - name: use_local_dynamo
    kind: bool
sorry, wanna double check, you are saying that I need to declare these configs in advance in meltano.yml first, then these values can be picked up from .env?
yes because it seems the dynamodb tap is a custom meltano plugin, in contrast to tap-postgres which you probably `meltano add`ed (which reads from Meltano Hub).
l
ah, that is the reason! thanks a lot! Let me have a try
@edgar_ramirez_mondragon Thanks heaps mate! It is all good now