heroku.build.Build
Explore with Pulumi AI
Create Build Resource
new Build(name: string, args: BuildArgs, opts?: CustomResourceOptions);
@overload
def Build(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
buildpacks: Optional[Sequence[str]] = None,
source: Optional[BuildSourceArgs] = None)
@overload
def Build(resource_name: str,
args: BuildArgs,
opts: Optional[ResourceOptions] = None)
func NewBuild(ctx *Context, name string, args BuildArgs, opts ...ResourceOption) (*Build, error)
public Build(string name, BuildArgs args, CustomResourceOptions? opts = null)
type: heroku:build:Build
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BuildArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Build Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Build resource accepts the following input properties:
- App
Id string - Source
Pulumiverse.
Heroku. Build. Inputs. Build Source - Buildpacks List<string>
- App
Id string - Source
Build
Source Args - Buildpacks []string
- app
Id String - source
Build
Source - buildpacks List<String>
- app
Id string - source
Build
Source - buildpacks string[]
- app_
id str - source
Build
Source Args - buildpacks Sequence[str]
- app
Id String - source Property Map
- buildpacks List<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the Build resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Local
Checksum string - Output
Stream stringUrl - Release
Id string - Slug
Id string - Stack string
- Status string
- Users
List<Pulumiverse.
Heroku. Build. Outputs. Build User> - Uuid string
- Id string
The provider-assigned unique ID for this managed resource.
- Local
Checksum string - Output
Stream stringUrl - Release
Id string - Slug
Id string - Stack string
- Status string
- Users
[]Build
User - Uuid string
- id String
The provider-assigned unique ID for this managed resource.
- local
Checksum String - output
Stream StringUrl - release
Id String - slug
Id String - stack String
- status String
- users
List<Build
User> - uuid String
- id string
The provider-assigned unique ID for this managed resource.
- local
Checksum string - output
Stream stringUrl - release
Id string - slug
Id string - stack string
- status string
- users
Build
User[] - uuid string
- id str
The provider-assigned unique ID for this managed resource.
- local_
checksum str - output_
stream_ strurl - release_
id str - slug_
id str - stack str
- status str
- users
Sequence[Build
User] - uuid str
- id String
The provider-assigned unique ID for this managed resource.
- local
Checksum String - output
Stream StringUrl - release
Id String - slug
Id String - stack String
- status String
- users List<Property Map>
- uuid String
Look up Existing Build Resource
Get an existing Build resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BuildState, opts?: CustomResourceOptions): Build
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
buildpacks: Optional[Sequence[str]] = None,
local_checksum: Optional[str] = None,
output_stream_url: Optional[str] = None,
release_id: Optional[str] = None,
slug_id: Optional[str] = None,
source: Optional[BuildSourceArgs] = None,
stack: Optional[str] = None,
status: Optional[str] = None,
users: Optional[Sequence[BuildUserArgs]] = None,
uuid: Optional[str] = None) -> Build
func GetBuild(ctx *Context, name string, id IDInput, state *BuildState, opts ...ResourceOption) (*Build, error)
public static Build Get(string name, Input<string> id, BuildState? state, CustomResourceOptions? opts = null)
public static Build get(String name, Output<String> id, BuildState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Id string - Buildpacks List<string>
- Local
Checksum string - Output
Stream stringUrl - Release
Id string - Slug
Id string - Source
Pulumiverse.
Heroku. Build. Inputs. Build Source - Stack string
- Status string
- Users
List<Pulumiverse.
Heroku. Build. Inputs. Build User> - Uuid string
- App
Id string - Buildpacks []string
- Local
Checksum string - Output
Stream stringUrl - Release
Id string - Slug
Id string - Source
Build
Source Args - Stack string
- Status string
- Users
[]Build
User Args - Uuid string
- app
Id String - buildpacks List<String>
- local
Checksum String - output
Stream StringUrl - release
Id String - slug
Id String - source
Build
Source - stack String
- status String
- users
List<Build
User> - uuid String
- app
Id string - buildpacks string[]
- local
Checksum string - output
Stream stringUrl - release
Id string - slug
Id string - source
Build
Source - stack string
- status string
- users
Build
User[] - uuid string
- app_
id str - buildpacks Sequence[str]
- local_
checksum str - output_
stream_ strurl - release_
id str - slug_
id str - source
Build
Source Args - stack str
- status str
- users
Sequence[Build
User Args] - uuid str
- app
Id String - buildpacks List<String>
- local
Checksum String - output
Stream StringUrl - release
Id String - slug
Id String - source Property Map
- stack String
- status String
- users List<Property Map>
- uuid String
Supporting Types
BuildSource, BuildSourceArgs
BuildUser, BuildUserArgs
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
heroku
Terraform Provider.