I am trying to create a source connector (generic python) which needs access to AWS EFS Share or a folder on Host Airbyte system. Does anyone know if I can mount a volume or get EFS share mounted inside docker container? It doesnt seem that you can mount volumes during build.
Also, I’ve learned that Alpine 3.16 has support for efs-tools package which is used for mounting AWS EFS shares. During mount process, it correctly establishes NFS connection to EFS IP but after that I just get error “Operation not permitted”. Any advice would be nice. Thanks
bash-5.1# mount -v -t efs -o tls,iam fs-xxx /data Could not start amazon-efs-mount-watchdog, unrecognized init system "sh" stunnel: LOG5[ui]: stunnel 5.64 on x86_64-alpine-linux-musl platform stunnel: LOG5[ui]: Compiled with OpenSSL 1.1.1n 15 Mar 2022 stunnel: LOG5[ui]: Running with OpenSSL 1.1.1q 5 Jul 2022 stunnel: LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,OCSP,PSK,SNI stunnel: LOG5[ui]: Reading configuration from file /run/efs/stunnel-config.fs-xxx.data.20299 stunnel: LOG5[ui]: UTF-8 byte order mark not detected stunnel: LOG5[ui]: Configuration successful stunnel: LOG5: Service [efs] accepted connection from 127.0.0.1:57428 stunnel: LOG5: s_connect: connected 172.x.x.x:2049 stunnel: LOG5: Service [efs] connected remote server from 172.17.0.2:50008 b'mount.nfs4: Operation not permitted' stunnel: LOG5: Certificate accepted at depth=0: CN=*.efs.xxx.amazonaws.com stunnel: LOG3: transfer: s_poll_wait: TIMEOUTclose exceeded: closing stunnel: LOG5: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket