Skip to main content

test_resource

Function test_resource 

Source
pub fn test_resource(name: &str) -> IacResource
Expand description

Create a test resource with typical fields (string required+immutable, string sensitive, list optional).

Creates three attributes:

  • "name": String, required, immutable, read_path = "item_name"
  • "value": String, required, sensitive
  • "tags": List(String), optional, read_path = "item_tags"