thankful-dress-89577
01/13/2023, 9:45 PMthankful-minister-83577
thankful-dress-89577
01/13/2023, 9:46 PMflytectl register files
already handles something like this for some specific launchplan parameters:
--assumableIamRole string Custom assumable iam auth role to register launch plans with.
--k8sServiceAccount string Custom kubernetes service account auth role to register launch plans with.
--outputLocationPrefix string Custom output location prefix for offloaded types (files/schemas).
but I would probably need something more generic for replacing the default inputsthankful-minister-83577
thankful-dress-89577
01/13/2023, 9:48 PMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
icy-agent-73298
01/13/2023, 10:06 PMthankful-minister-83577
thankful-minister-83577
icy-agent-73298
01/13/2023, 10:07 PMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-dress-89577
01/13/2023, 11:12 PMthankful-dress-89577
01/13/2023, 11:13 PMthankful-dress-89577
01/23/2023, 4:24 PMassumableIamRole
value something we can retrieve in the context of a running task, to pass it to a different aws service for example?thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
- name: FLYTE_INTERNAL_EXECUTION_WORKFLOW
value: flytesnacks:development:backfiller.example_wf
- name: FLYTE_INTERNAL_EXECUTION_ID
value: fdaqqjwlxr2asu
- name: FLYTE_INTERNAL_EXECUTION_PROJECT
value: flytesnacks
- name: FLYTE_INTERNAL_EXECUTION_DOMAIN
value: development
- name: FLYTE_ATTEMPT_NUMBER
value: "0"
- name: FLYTE_INTERNAL_TASK_PROJECT
value: flytesnacks
- name: FLYTE_INTERNAL_TASK_DOMAIN
value: development
- name: FLYTE_INTERNAL_TASK_NAME
value: <http://backfiller.tk|backfiller.tk>
- name: FLYTE_INTERNAL_TASK_VERSION
value: XG5F3Qb38LZdh7Y86ImmBQ==
- name: FLYTE_INTERNAL_PROJECT
value: flytesnacks
- name: FLYTE_INTERNAL_DOMAIN
value: development
- name: FLYTE_INTERNAL_NAME
value: <http://backfiller.tk|backfiller.tk>
- name: FLYTE_INTERNAL_VERSION
value: XG5F3Qb38LZdh7Y86ImmBQ==
- name: AWS_METADATA_SERVICE_TIMEOUT
value: "5"
- name: AWS_METADATA_SERVICE_NUM_ATTEMPTS
value: "20"
- name: AWS_DEFAULT_REGION
value: us-east-2
- name: AWS_REGION
value: us-east-2
- name: AWS_ROLE_ARN
value: arn:aws:iam::123123:role/development-service-flyte-userflyterole
- name: AWS_WEB_IDENTITY_TOKEN_FILE
value: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-dress-89577
01/23/2023, 6:19 PMthankful-dress-89577
01/23/2023, 6:19 PMthankful-dress-89577
01/23/2023, 6:20 PMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-dress-89577
01/23/2023, 7:37 PMthankful-dress-89577
01/25/2023, 5:00 PMpyflyte package
, at least then we might be able to write simple tooling to do substitutions. Alternatively, if we produce an intermediate template (like a helm template or a cfn template) that at registration time (flytectl register file
) could take values to substitute, I think that would be very handy.