archivePaths property

Output<List<String>?> archivePaths
latefinal

A list of path globs to return as a single archive asset after the command completes.

When specifying glob patterns the following rules apply:

  • We only include files not directories for assets and archives.
  • Path separators are / on all platforms - including Windows.
  • Patterns starting with ! are 'exclude' rules.
  • Rules are evaluated in order, so exclude rules should be after inclusion rules.
  • * matches anything except /
  • ** matches anything, including /
  • All returned paths are relative to the working directory (without leading ./) e.g. file.text or subfolder/file.txt.
  • For full details of the globbing syntax, see github.com/gobwas/glob

Example

Given the rules:

- "assets/**"
- "src/**.js"
- "!**secret.*"

When evaluating against this folder:

- assets/
  - logos/
    - logo.svg
- src/
  - index.js
  - secret.js

The following paths will be returned:

- assets/logos/logo.svg
- src/index.js

Implementation

late final pulumi.Output<List<String>?> archivePaths;