main.tf
:
provider "google" {
project = "PROJECT_ID"
}
resource "google_compute_instance" "test-bridge" {
$ docker run --rm alpine:3.15 sh -euxc 'apk add ruby strace; strace ruby -e "p Random.urandom(1)"' |& grep random
+ strace ruby -e 'p Random.urandom(1)'
execve("/usr/bin/ruby", ["ruby", "-e", "p Random.urandom(1)"], 0x7ffe0d799eb0 /* 5 vars */) = 0
getrandom(0x7fb4fdfb86f0, 24, GRND_NONBLOCK) = -1 ENOSYS (Function not implemented)
open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC) = 3
stat("/usr/lib/ruby/gems/3.0.0/specifications/default/securerandom-0.1.0.gemspec", {st_mode=S_IFREG|0644, st_size=993, ...}) = 0
open("/usr/lib/ruby/gems/3.0.0/specifications/default/securerandom-0.1.0.gemspec", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5