Skip to content

Support resourceInput typed params #7182

@carlin-q-scott

Description

@carlin-q-scott

Describe the feature

Please add support for the experimental feature resourceDerivedTypes.

Examples

@description('The minimum resources to allocate to a container app instance')
param resources resourceInput<'Microsoft.App/containerApps@2024-03-01'>.properties.template.containers[*].resources = {
  #disable-next-line BCP036
  cpu: '0.25'
  memory: '0.5Gi'
}

bicepconfig.json

Additional context

File "/usr/local/lib/python3.11/site-packages/lark/lexer.py", line 598, in next_token
raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,
lark.exceptions.UnexpectedCharacters: No terminal matches '<' in the current parser context, at line 14 col 30

param resources resourceInput<'Microsoft.App/containerApps@2024-03-01

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution requestedThis is a great feature idea, but we will need a contribution to get it added to Checkov.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions