I wanted to use my local attributes (attribute) inside a module block like this:
module "myModule" { source = "xy//xz" attribute