Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Feature showcase #243

Open
myhau opened this issue Jul 11, 2023 · 0 comments
Open

Documentation: Feature showcase #243

myhau opened this issue Jul 11, 2023 · 0 comments

Comments

@myhau
Copy link
Member

myhau commented Jul 11, 2023

Acceptance criteria

Create a nice markdown page and link from README.md (or extend README.md)

Cover these features:

Maps and lists + maps/lists with type-safe builder values.

Examples

field("key1", "key2")

field("key" to "value", "key1" to "value2")

field("key" to {
    field2("whatever")
})
field(
  {
        field2("whatever")
  },
  {
      field2("whatever")
  }
)

Enums

vmType(XD_64)

Custom resource options (opts)

You can pass String, but also Output

Resources and functions combined (mention coroutines vs Future)

var futureResult = AwsFunctions.getProjectPlain().get()

ResourceArgs.builder().field(futureResult)

vs

val project = AwsFunctions.getProjectPlain()

resource {
    field(project)
}

Recommendations on how to break huge blocks into smaller ones (extract functions)

More to be discussed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants