Group Custom Attribute Args
data class GroupCustomAttributeArgs(val group: Output<Int>? = null, val key: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<GroupCustomAttributeArgs>
The gitlab.GroupCustomAttribute
resource allows to manage custom attributes for a group. Upstream API: GitLab REST API docs
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GroupCustomAttribute;
import com.pulumi.gitlab.GroupCustomAttributeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var attr = new GroupCustomAttribute("attr", GroupCustomAttributeArgs.builder()
.group("42")
.key("location")
.value("Greenland")
.build());
}
}
Content copied to clipboard
Import
You can import a group custom attribute using the an id made up of {group-id}:{key}
, e.g.
$ pulumi import gitlab:index/groupCustomAttribute:GroupCustomAttribute attr 42:location
Content copied to clipboard