---
g_template_aws:
  name: Template AWS
  zdiscoveryrules:
  - name: disc.aws
    key: disc.aws
    lifetime: 1
    description: "Dynamically register AWS bucket info"

  zitemprototypes:
  - discoveryrule_key: disc.aws
    name: "S3 bucket size (GB) [{#S3_BUCKET}]"
    key: "disc.aws.size[{#S3_BUCKET}]"
    value_type: int
    description: "Size of S3 bucket"
    applications:
    - AWS

  - discoveryrule_key: disc.aws
    name: "S3 bucket object count [{#S3_BUCKET}]"
    key: "disc.aws.objects[{#S3_BUCKET}]"
    value_type: int
    description: "Objects in S3 bucket"
    applications:
    - AWS

---
g_template_aws:
  name: Template AWS
  zdiscoveryrules:
  - name: disc.aws
    key: disc.aws
    lifetime: 14
    description: "Dynamically register AWS bucket info"

  zitemprototypes:
  - discoveryrule_key: disc.aws
    name: "S3 bucket size (GB) [{#S3_BUCKET}]"
    key: "disc.aws.size[{#S3_BUCKET}]"
    value_type: int
    description: "Size of S3 bucket"
    applications:
    - AWS

  - discoveryrule_key: disc.aws
    name: "S3 bucket object count [{#S3_BUCKET}]"
    key: "disc.aws.objects[{#S3_BUCKET}]"
    value_type: int
    description: "Objects in S3 bucket"
    applications:
    - AWS

Raise lifetime to 2 weeks for dynamic AWS items
Raise lifetime to 2 weeks for dynamic AWS items
